Skip to content

Commit d597529

Browse files
committed
Update major version support to include 7.0 and drop 5.0
1 parent bf9adad commit d597529

File tree

6 files changed

+54
-33
lines changed

6 files changed

+54
-33
lines changed

.travis.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# This travis run should only test and build the latest version of all major redis-server versions
22
language: python
33
python:
4-
- "3.5"
4+
- "3.10"
55
services:
66
- docker
77
env:
8-
- REDIS_VERSION=3.0.7
9-
- REDIS_VERSION=3.2.13
10-
- REDIS_VERSION=4.0.14
11-
- REDIS_VERSION=5.0.12
12-
- REDIS_VERSION=6.0.12
13-
- REDIS_VERSION=6.2.1
8+
# - REDIS_VERSION=3.0.7
9+
# - REDIS_VERSION=3.2.13
10+
# - REDIS_VERSION=4.0.14
11+
# - REDIS_VERSION=5.0.12
12+
- REDIS_VERSION=6.0.16
13+
- REDIS_VERSION=6.2.8
14+
- REDIS_VERSION=7.0.7
1415
script:
1516
docker build --build-arg redis_version=$REDIS_VERSION -t grokzen/redis-cluster .

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2022-12-18
2+
3+
* Added redis 7.0.x releases and published docker images
4+
* Dropped redis 5.0.x releases and unpublished docker images
5+
* Added `invoke list` command to show all possible targets you can build against
6+
17
## 2021-04-13
28

39
* Dropped the availability of redis-server major versions 3.0, 3.2, 4.0 from docker.hub

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ENV SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem
2424
RUN gem install redis -v 4.1.3
2525

2626
# This will always build the latest release/commit in the 6.0 branch
27-
ARG redis_version=6.2
27+
ARG redis_version=7.0
2828

2929
RUN wget -qO redis.tar.gz https://github.com/redis/redis/tarball/${redis_version} \
3030
&& tar xfz redis.tar.gz -C / \

README.md

+25-20
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For all other purposes other then what has been stated you are free to fork and/
4444

4545
## Redis major version support and docker.hub availability
4646

47-
Starting from `2020-04-01` this repo will only support and make available on docker.hub all minor versions in the latest 3 major versions of redis-server software. At this date the tags on docker.hub for major versions 3.0, 3.2 & 4.0 will be removed and only 5.0, 6.0 & 6.2 will be available to download. This do not mean that you will not be able to build your desired version from this repo but there is no guarantees or support or hacks that will support this out of the box.
47+
Starting from `2020-04-01` this repo will only support and make available on docker.hub all minor versions in the latest 3 major versions of redis-server software. At this date the tags on docker.hub for major versions 3.0, 3.2 & 4.0, 5.0 will be removed and only 6.0, 6.2, 7.0 will be available to download. This do not mean that you will not be able to build your desired version from this repo but there is no guarantees or support or hacks that will support this out of the box.
4848

4949
Moving forward when a new major release is shipped out, at the first minor release X.Y.1 version of the next major release, all tags from the last supported major version will be removed from docker.hub. This will give some time for the community to adapt and move forward in the versions before the older major version is removed from docker.hub.
5050

@@ -228,17 +228,37 @@ The following tags with pre-built images is available on `docker-hub`.
228228

229229
Latest release in the most recent stable branch will be used as `latest` version.
230230

231-
- latest == 6.2.1
231+
- latest == 7.0.7
232+
233+
Redis 7.0.x version:
234+
235+
- 7.0.7
236+
- 7.0.6
237+
- 7.0.5
238+
- 7.0.4
239+
- 7.0.3
240+
- 7.0.2
241+
- 7.0.1
242+
- 7.0.0
232243

233244
Redis 6.2.x versions:
234245

246+
- 6.2.8
247+
- 6.2.7
248+
- 6.2.6
249+
- 6.2.5
250+
- 6.2.4
251+
- 6.2.3
252+
- 6.2.2
235253
- 6.2.1
236254
- 6.2.0
237-
- 6.2-rc2
238-
- 6.2-rc1
239255

240256
Redis 6.0.x versions:
241257

258+
- 6.0.16
259+
- 6.0.15
260+
- 6.0.14
261+
- 6.0.13
242262
- 6.0.12
243263
- 6.0.11
244264
- 6.0.10
@@ -253,27 +273,12 @@ Redis 6.0.x versions:
253273
- 6.0.1
254274
- 6.0.0
255275

256-
Redis 5.0.x version:
257-
258-
- 5.0.12
259-
- 5.0.11
260-
- 5.0.10
261-
- 5.0.9
262-
- 5.0.8
263-
- 5.0.7
264-
- 5.0.6
265-
- 5.0.5
266-
- 5.0.4
267-
- 5.0.3
268-
- 5.0.2
269-
- 5.0.1
270-
- 5.0.0
271-
272276

273277
## Unavailable major versions
274278

275279
The following major versions is no longer available to be downloaded from docker.hub. You can still build and run them directly from this repo.
276280

281+
- 5.0
277282
- 4.0
278283
- 3.2
279284
- 3.0

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
build:
99
context: .
1010
args:
11-
redis_version: '6.2.1'
11+
redis_version: '7.0.7'
1212
hostname: server
1313
ports:
1414
- '7000-7050:7000-7050'

tasks.py

+13-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,19 @@
33
from invoke import task
44

55

6-
latest_version_string = "6.2.1"
6+
latest_version_string = "7.0.7"
77

8+
# Unpublished versions
89
version_config_mapping = []
910
version_config_mapping += [f"3.0.{i}" for i in range(0, 8)]
1011
version_config_mapping += [f"3.2.{i}" for i in range(0, 14)]
1112
version_config_mapping += [f"4.0.{i}" for i in range(0, 15)]
1213
version_config_mapping += [f"5.0.{i}" for i in range(0, 13)]
13-
version_config_mapping += [f"6.0.{i}" for i in range(0, 13)]
14-
version_config_mapping += [f"6.2-rc{i}" for i in range(1, 3)]
15-
version_config_mapping += [f"6.2.{i}" for i in range(0, 2)]
14+
15+
# Published versions
16+
version_config_mapping += [f"6.0.{i}" for i in range(0, 17)]
17+
version_config_mapping += [f"6.2.{i}" for i in range(0, 9)]
18+
version_config_mapping += [f"7.0.{i}" for i in range(0, 8)]
1619

1720

1821
def version_name_to_version(version):
@@ -121,3 +124,9 @@ def push(c, version, cpu=None):
121124
for version in version_name_to_version(version)
122125
],
123126
)
127+
128+
129+
@task
130+
def list(c):
131+
from pprint import pprint
132+
pprint(version_config_mapping, indent=2)

0 commit comments

Comments
 (0)