Skip to content

Commit ec3eed6

Browse files
authored
ci: bump redis version (#455)
1 parent 5fc36bb commit ec3eed6

File tree

11 files changed

+35
-34
lines changed

11 files changed

+35
-34
lines changed

.github/workflows/test.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@ jobs:
3030
max-parallel: 8
3131
matrix:
3232
include:
33-
- {redis: '7.2', ruby: '3.4'}
34-
- {redis: '7.2', ruby: '3.4', compose: compose.ssl.yaml}
35-
- {redis: '7.2', ruby: '3.4', driver: 'hiredis'}
36-
- {redis: '7.2', ruby: '3.4', driver: 'hiredis', compose: compose.ssl.yaml}
37-
- {redis: '7.2', ruby: '3.4', compose: compose.replica.yaml, replica: '2'}
38-
- {redis: '8', ruby: '3.3', compose: compose.valkey.yaml, replica: '2'}
39-
- {redis: '7.2', ruby: '3.2', compose: compose.auth.yaml}
40-
- {redis: '7.0', ruby: '3.1'}
41-
- {redis: '6.2', ruby: '3.0'}
42-
- {redis: '5.0', ruby: '2.7'}
33+
- {redis: '8', ruby: '3.4'}
34+
- {redis: '8', ruby: '3.4', compose: compose.ssl.yaml}
35+
- {redis: '8', ruby: '3.4', driver: 'hiredis'}
36+
- {redis: '8', ruby: '3.4', driver: 'hiredis', compose: compose.ssl.yaml}
37+
- {redis: '8', ruby: '3.4', compose: compose.auth.yaml}
38+
- {redis: '8', ruby: '3.4', compose: compose.replica.yaml, replica: '2'}
39+
- {redis: '8', ruby: '3.4', compose: compose.valkey.yaml, replica: '2'}
40+
- {redis: '9', ruby: '3.4', compose: compose.valkey.yaml, replica: '2'}
41+
- {redis: '7', ruby: '3.3'}
42+
- {redis: '6', ruby: '3.2'}
43+
- {redis: '5', ruby: '2.7'}
4344
- {ruby: 'jruby'}
4445
- {ruby: 'truffleruby'}
4546
- {task: test_cluster_down}
@@ -54,7 +55,7 @@ jobs:
5455
- {task: test_cluster_scale, pattern: 'Transaction', compose: compose.scale.yaml, startup: '8'}
5556
- {task: test_cluster_scale, pattern: 'PubSub', compose: compose.scale.yaml, startup: '8'}
5657
env:
57-
REDIS_VERSION: ${{ matrix.redis || '7.2' }}
58+
REDIS_VERSION: ${{ matrix.redis || '8' }}
5859
DOCKER_COMPOSE_FILE: ${{ matrix.compose || 'compose.yaml' }}
5960
REDIS_CONNECTION_DRIVER: ${{ matrix.driver || 'ruby' }}
6061
REDIS_REPLICA_SIZE: ${{ matrix.replica || '1' }}
@@ -102,7 +103,7 @@ jobs:
102103
timeout-minutes: 5
103104
runs-on: ubuntu-latest
104105
env:
105-
REDIS_VERSION: '7.2'
106+
REDIS_VERSION: '8'
106107
DOCKER_COMPOSE_FILE: 'compose.nat.yaml'
107108
steps:
108109
- name: Check out code
@@ -139,7 +140,7 @@ jobs:
139140
timeout-minutes: 10
140141
runs-on: ubuntu-latest
141142
env:
142-
REDIS_VERSION: '7.2'
143+
REDIS_VERSION: '8'
143144
DOCKER_COMPOSE_FILE: 'compose.latency.yaml'
144145
REDIS_REPLICA_SIZE: '2'
145146
REDIS_CLIENT_MAX_THREADS: '10'
@@ -181,7 +182,7 @@ jobs:
181182
- original_mget
182183
- emulated_mget
183184
env:
184-
REDIS_VERSION: '7.2'
185+
REDIS_VERSION: '8'
185186
DOCKER_COMPOSE_FILE: 'compose.yaml'
186187
steps:
187188
- name: Check out code
@@ -211,7 +212,7 @@ jobs:
211212
timeout-minutes: 10
212213
runs-on: ubuntu-latest
213214
env:
214-
REDIS_VERSION: '7.2'
215+
REDIS_VERSION: '8'
215216
DOCKER_COMPOSE_FILE: 'compose.massive.yaml'
216217
REDIS_SHARD_SIZE: '10'
217218
REDIS_REPLICA_SIZE: '2'

compose.auth.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
node1: &node
4-
image: "redis:${REDIS_VERSION:-7}"
4+
image: "redis:${REDIS_VERSION:-8}"
55
command: >
66
redis-server
77
--maxmemory 64mb
@@ -41,7 +41,7 @@ services:
4141
ports:
4242
- "6384:6379"
4343
clustering:
44-
image: "redis:${REDIS_VERSION:-7}"
44+
image: "redis:${REDIS_VERSION:-8}"
4545
command: >
4646
bash -c "apt-get update > /dev/null
4747
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.latency.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 3 shards plus with each 2 replicas simutlated network delay
33
services:
44
node1: &node
5-
image: "redis:${REDIS_VERSION:-7}"
5+
image: "redis:${REDIS_VERSION:-8}"
66
command: >
77
redis-server
88
--maxmemory 64mb
@@ -66,7 +66,7 @@ services:
6666
ports:
6767
- "6387:6379"
6868
clustering:
69-
image: "redis:${REDIS_VERSION:-7}"
69+
image: "redis:${REDIS_VERSION:-8}"
7070
command: >
7171
bash -c "apt-get update > /dev/null
7272
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.massive.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://github.com/redis/redis/blob/unstable/redis.conf
66
services:
77
node001: &node
8-
image: "redis:${REDIS_VERSION:-7}"
8+
image: "redis:${REDIS_VERSION:-8}"
99
command: >
1010
redis-server
1111
--maxmemory 32mb
@@ -166,7 +166,7 @@ services:
166166
ports:
167167
- "6408:6379"
168168
clustering:
169-
image: "redis:${REDIS_VERSION:-7}"
169+
image: "redis:${REDIS_VERSION:-8}"
170170
command: >
171171
bash -c "apt-get update > /dev/null
172172
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.nat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# DEBUG=1 bundle exec rake 'build_cluster[192.168.11.9,192.168.11.7]'
66
services:
77
node1: &node
8-
image: "redis:${REDIS_VERSION:-7}"
8+
image: "redis:${REDIS_VERSION:-8}"
99
command: >
1010
redis-server
1111
--maxmemory 64mb

compose.replica.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 3 shards with double replicas
33
services:
44
node1: &node
5-
image: "redis:${REDIS_VERSION:-7}"
5+
image: "redis:${REDIS_VERSION:-8}"
66
command: >
77
redis-server
88
--maxmemory 64mb
@@ -52,7 +52,7 @@ services:
5252
ports:
5353
- "6387:6379"
5454
clustering:
55-
image: "redis:${REDIS_VERSION:-7}"
55+
image: "redis:${REDIS_VERSION:-8}"
5656
command: >
5757
bash -c "apt-get update > /dev/null
5858
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.scale.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
node1: &node
4-
image: "redis:${REDIS_VERSION:-7}"
4+
image: "redis:${REDIS_VERSION:-8}"
55
command: >
66
redis-server
77
--maxmemory 64mb
@@ -47,7 +47,7 @@ services:
4747
ports:
4848
- "6386:6379"
4949
clustering:
50-
image: "redis:${REDIS_VERSION:-7}"
50+
image: "redis:${REDIS_VERSION:-8}"
5151
command: >
5252
bash -c "apt-get update > /dev/null
5353
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.ssl.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# @see https://redis.io/docs/manual/security/encryption/
33
services:
44
node1: &node
5-
image: "redis:${REDIS_VERSION:-7}"
5+
image: "redis:${REDIS_VERSION:-8}"
66
command: >
77
redis-server
88
--maxmemory 64mb
@@ -257,7 +257,7 @@ services:
257257
ports:
258258
- "6384:6384"
259259
clustering:
260-
image: "redis:${REDIS_VERSION:-7}"
260+
image: "redis:${REDIS_VERSION:-8}"
261261
command: >
262262
bash -c "apt-get update > /dev/null
263263
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.valkey.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
node1: &node
4-
image: "valkey/valkey:${REDIS_VERSION:-7}"
4+
image: "valkey/valkey:${REDIS_VERSION:-9}"
55
command: >
66
valkey-server
77
--maxmemory 64mb
@@ -51,7 +51,7 @@ services:
5151
ports:
5252
- "6387:6379"
5353
clustering:
54-
image: "valkey/valkey:${REDIS_VERSION:-7}"
54+
image: "valkey/valkey:${REDIS_VERSION:-9}"
5555
command: >
5656
bash -c "apt-get update > /dev/null
5757
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
node1: &node
4-
image: "redis:${REDIS_VERSION:-7}"
4+
image: "redis:${REDIS_VERSION:-8}"
55
command: >
66
redis-server
77
--maxmemory 64mb
@@ -39,7 +39,7 @@ services:
3939
ports:
4040
- "6384:6379"
4141
clustering:
42-
image: "redis:${REDIS_VERSION:-7}"
42+
image: "redis:${REDIS_VERSION:-8}"
4343
command: >
4444
bash -c "apt-get update > /dev/null
4545
&& apt-get install --no-install-recommends --no-install-suggests -y dnsutils > /dev/null

0 commit comments

Comments
 (0)