File tree 2 files changed +10
-31
lines changed
.github/actions/run-tests
2 files changed +10
-31
lines changed Original file line number Diff line number Diff line change @@ -50,26 +50,26 @@ runs:
50
50
51
51
# Mapping of redis version to stack version
52
52
declare -A redis_stack_version_mapping=(
53
- ["7.4.1"]="7.4.0-v1"
54
- ["7.2.6"]="7.2.0-v13"
55
- ["6.2.16"]="6.2.6-v17"
53
+ ["7.4.1"]="rs- 7.4.0-v1"
54
+ ["7.2.6"]="rs- 7.2.0-v13"
55
+ ["6.2.16"]="rs- 6.2.6-v17"
56
56
)
57
57
58
58
if [[ -v redis_stack_version_mapping[$REDIS_VERSION] ]]; then
59
- export REDIS_STACK_IMAGE="redis/redis-stack-server :${redis_stack_version_mapping[$REDIS_VERSION]}"
59
+ export CLIENT_LIBS_TEST_IMAGE="redislabs/client-libs-test :${redis_stack_version_mapping[$REDIS_VERSION]}"
60
60
else
61
61
echo "Version not found in the mapping."
62
62
exit 1
63
63
fi
64
64
65
- if (( redis_major_version < 7 )); then
66
- export REDIS_STACK_EXTRA_ARGS="--tls-auth-clients optional --save ''"
65
+ if (( redis_major_version < 7 )); then
67
66
export REDIS_EXTRA_ARGS="--tls-auth-clients optional --save ''"
68
67
fi
69
68
70
69
docker compose --profile all-stack -f tests/dockers/docker-compose.yml up -d --build
71
70
else
72
- echo "Using redis CE for module tests"
71
+ echo "Using redis CE for module tests"
72
+ export CLIENT_LIBS_TEST_IMAGE="redislabs/client-libs-test:$REDIS_VERSION"
73
73
docker compose --profile all -f tests/dockers/docker-compose.yml up -d --build
74
74
fi
75
75
shell : bash
Original file line number Diff line number Diff line change 3
3
services :
4
4
5
5
redis :
6
- image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1 }
6
+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs- 7.4.0-v1 }
7
7
container_name : redis-standalone
8
8
environment :
9
9
- TLS_ENABLED=yes
@@ -18,11 +18,10 @@ services:
18
18
- " ./standalone:/redis/work"
19
19
profiles :
20
20
- standalone
21
- - all-stack
22
21
- all
23
22
24
23
cluster :
25
- image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:7.4.1 }
24
+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs- 7.4.0-v1 }
26
25
container_name : redis-cluster
27
26
environment :
28
27
- REDIS_CLUSTER=yes
@@ -39,24 +38,4 @@ services:
39
38
- " ./cluster:/redis/work"
40
39
profiles :
41
40
- cluster
42
- - all-stack
43
- - all
44
-
45
- redis-stack :
46
- image : ${REDIS_STACK_IMAGE:-redis/redis-stack-server:edge}
47
- container_name : redis-stack
48
- ports :
49
- - 6479:6379
50
- environment :
51
- - " REDIS_ARGS=${REDIS_STACK_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --save ''}"
52
- profiles :
53
- - standalone
54
- - all-stack
55
-
56
- redis-stack-graph :
57
- image : redis/redis-stack-server:6.2.6-v15
58
- container_name : redis-stack-graph
59
- ports :
60
- - 6480:6379
61
- profiles :
62
- - graph
41
+ - all
You can’t perform that action at this time.
0 commit comments