File tree Expand file tree Collapse file tree 2 files changed +10
-31
lines changed
.github/actions/run-tests Expand file tree Collapse file tree 2 files changed +10
-31
lines changed Original file line number Diff line number Diff line change @@ -50,26 +50,26 @@ runs:
5050
5151 # Mapping of redis version to stack version
5252 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"
5656 )
5757
5858 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]}"
6060 else
6161 echo "Version not found in the mapping."
6262 exit 1
6363 fi
6464
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
6766 export REDIS_EXTRA_ARGS="--tls-auth-clients optional --save ''"
6867 fi
6968
7069 docker compose --profile all-stack -f tests/dockers/docker-compose.yml up -d --build
7170 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"
7373 docker compose --profile all -f tests/dockers/docker-compose.yml up -d --build
7474 fi
7575 shell : bash
Original file line number Diff line number Diff line change 33services :
44
55 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 }
77 container_name : redis-standalone
88 environment :
99 - TLS_ENABLED=yes
@@ -18,11 +18,10 @@ services:
1818 - " ./standalone:/redis/work"
1919 profiles :
2020 - standalone
21- - all-stack
2221 - all
2322
2423 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 }
2625 container_name : redis-cluster
2726 environment :
2827 - REDIS_CLUSTER=yes
@@ -39,24 +38,4 @@ services:
3938 - " ./cluster:/redis/work"
4039 profiles :
4140 - 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