mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 08:37:10 +08:00
Add instance of Redis without MTLS to workflow
This commit is contained in:
10
.github/workflows/test-redis.yml
vendored
10
.github/workflows/test-redis.yml
vendored
@@ -39,8 +39,6 @@ jobs:
|
||||
with:
|
||||
redis-version: ${{ matrix.redis }}
|
||||
auto-start: 'false'
|
||||
redis-port: '6379'
|
||||
redis-tls-port: '6380'
|
||||
|
||||
- name: Run Redis
|
||||
run: |
|
||||
@@ -49,6 +47,14 @@ jobs:
|
||||
--tls-key-file /home/runner/work/storage/storage/tls/redis.key \
|
||||
--tls-ca-cert-file /home/runner/work/storage/storage/tls/ca.crt &
|
||||
|
||||
- name: Run Redis instance with MTLS disabled
|
||||
run: |
|
||||
redis-server --tls-port 16380 --port 16379 \
|
||||
--tls-cert-file /home/runner/work/storage/storage/tls/redis.crt \
|
||||
--tls-key-file /home/runner/work/storage/storage/tls/redis.key \
|
||||
--tls-ca-cert-file /home/runner/work/storage/storage/tls/ca.crt \
|
||||
--tls-auth-clients no &
|
||||
|
||||
- name: Setup Redis Cluster
|
||||
uses: vishnudxb/redis-cluster@1.0.8
|
||||
with:
|
||||
|
@@ -233,7 +233,7 @@ func Test_Redis_Initalize_WithURL_TLS_Verify(t *testing.T) {
|
||||
|
||||
func Test_Redis_Initalize_With_Secure_URL(t *testing.T) {
|
||||
testStoreUrl := New(Config{
|
||||
URL: "rediss://localhost:6380",
|
||||
URL: "rediss://localhost:16380",
|
||||
})
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user