-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use standard Redis docker image in CI (#3246)
Adapt the tests to use the standard Redis docker image where possible, instead of using the Redis Stack image in all places. This way we can run the CI against different versions of Redis and Redis Stack. Run the test cluster based on the default Redis docker image, i.e. without Stack support. This is needed in order to make the CI pass until Stack gets a new release. What is needed is to mark all Stack related tests accordingly, and then they don't get executed in the cluster tests (they are already filtered out in `invoke cluster-tests`). Take the opportunity to remove some empty tests and to fix the naming in two tests. --------- Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
- Loading branch information
Showing
18 changed files
with
344 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM redis/redis-stack-server:7.2.0-v11 as rss | ||
ARG REDIS_IMAGE=redis:latest | ||
FROM $REDIS_IMAGE | ||
|
||
COPY dockers/create_cluster.sh /create_cluster.sh | ||
RUN ls -R /opt/redis-stack | ||
RUN chmod a+x /create_cluster.sh | ||
|
||
ENTRYPOINT [ "/create_cluster.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
protected-mode no | ||
enable-debug-command yes | ||
loadmodule /opt/redis-stack/lib/redisearch.so | ||
loadmodule /opt/redis-stack/lib/redistimeseries.so | ||
loadmodule /opt/redis-stack/lib/rejson.so | ||
loadmodule /opt/redis-stack/lib/redisbloom.so | ||
loadmodule /opt/redis-stack/lib/redisgears.so v8-plugin-path /opt/redis-stack/lib/libredisgears_v8_plugin.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
sentinel monitor redis-py-test 127.0.0.1 6379 2 | ||
sentinel resolve-hostnames yes | ||
sentinel monitor redis-py-test redis 6379 2 | ||
sentinel down-after-milliseconds redis-py-test 5000 | ||
sentinel failover-timeout redis-py-test 60000 | ||
sentinel parallel-syncs redis-py-test 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.