Skip to content

Test against 8.0.1-pre #4163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ This guide explains how to bootstrap and manage a test environment for Jedis usi
You can bootstrap the test environment for supported versions of Redis using the provided `make` targets.

## Option 1: Using `make` Targets
To bring up the test environment for a specific Redis version (8.0-M05-pre, 8.0-M04-pre, 8.0-M02, 7.4, 7.2, or 6.2), use the following command:
To bring up the test environment for a specific Redis version (8.0.0, 7.4, 7.2, or 6.2), use the following command:
```bash
make start-test-env version=8.0-M02 # Replace with desired version
make start-test-env version=8.0.0 # Replace with desired version
```
To stop test environment:
```bash
Expand All @@ -58,10 +58,10 @@ make test-on-docker

## Option 2: Using docker compose commands directly
Docker compose file can be found in `src/test/resources/env` folder.
- **Redis 8.0-M02**
- **Redis 8.0.0**
```bash
rm -rf /tmp/redis-env-work
export REDIS_VERSION=8.0-M02
export REDIS_VERSION=8.0.0
docker compose up
```
- **Redis 7.4, 7.2, 6.2,**
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ start: cleanup compile-module
echo "$$REDIS_UDS" | redis-server -
echo "$$REDIS_UNAVAILABLE_CONF" | redis-server -
redis-cli -a cluster --cluster create 127.0.0.1:7479 127.0.0.1:7480 127.0.0.1:7481 --cluster-yes
docker run -p 6479:6379 --name jedis-stack -e PORT=6379 -d redislabs/client-libs-test:8.0-M04-pre
docker run -p 6479:6379 --name jedis-stack -e PORT=6379 -d redislabs/client-libs-test:8.0.0

cleanup:
- rm -vf /tmp/redis_cluster_node*.conf 2>/dev/null
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/env/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REDIS_VERSION=8.0-RC2-pre
REDIS_STACK_VERSION=8.0-RC2-pre
REDIS_VERSION=8.0.1-pre
REDIS_STACK_VERSION=8.0.1-pre
CLIENT_LIBS_TEST_IMAGE=redislabs/client-libs-test
REDIS_ENV_CONF_DIR=./
REDIS_MODULES_DIR=/tmp
Expand Down
Loading