Skip to content

Commit aa208e7

Browse files
authored
RockyLinux 9 support (RedisJSON#1099)
1 parent 901dbb2 commit aa208e7

File tree

7 files changed

+18
-13
lines changed

7 files changed

+18
-13
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ workflows:
599599
context: common
600600
matrix:
601601
parameters:
602-
platform: [jammy, focal, bionic, centos7, rocky8, bullseye, amzn2]
602+
platform: [jammy, focal, bionic, centos7, rocky8, rocky9, bullseye, amzn2]
603603
- build-arm-platforms:
604604
<<: *on-integ-and-version-tags
605605
context: common

build/docker/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ include $(ROOT)/deps/readies/mk/main
55

66
REPO=rejson
77

8-
REDIS_VERSION=7.2-rc2
8+
REDIS_VERSION=7.2.1
99

1010
OSNICK.official=bullseye
1111

1212
INT_BRANCHES=2.6 2.4 2.2 2.0 1.2 1.0
13-
LATEST_BRANCH=2.4
13+
LATEST_BRANCH=2.6
1414
PREVIEW_BRANCH=2.6
1515

1616
ART_DIR=$(ROOT)/bin/artifacts

sbin/get-redisearch

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ else
6666
nick=ubuntu18.04
6767
fi
6868
elif [[ $dist == centos || $dist == redhat || $dist == fedora || $dist == ol ]]; then
69-
if [[ $nick == centos8 || $nick == ol8 || $nick == rocky8 ]]; then
69+
if [[ $nick == centos9 || $nick == ol9 || $nick == rocky9 || $nick == rhel9 ]]; then
70+
nick="rhel9"
71+
elif [[ $nick == centos8 || $nick == ol8 || $nick == rocky8 ]]; then
7072
nick="rhel8"
7173
else
7274
nick="rhel7"

sbin/pack.sh

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ OSNICK=$($READIES/bin/platform --osnick)
6969
[[ $OSNICK == centos8 ]] && OSNICK=rhel8
7070
[[ $OSNICK == ol8 ]] && OSNICK=rhel8
7171
[[ $OSNICK == rocky8 ]] && OSNICK=rhel8
72+
[[ $OSNICK == rocky9 ]] && OSNICK=rhel9
7273

7374
[[ $OSNICK == bigsur ]] && OSNICK=catalina
7475

sbin/system-setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def debian_compat(self):
3232
self.run(f"{READIES}/bin/getgcc")
3333

3434
def redhat_compat(self):
35-
self.install("redhat-lsb-core")
35+
if self.dist == "centos" and self.os_version[0] < 9:
36+
self.install("redhat-lsb-core")
3637
self.install("which")
3738
self.run(f"{READIES}/bin/getgcc --modern")
3839

sbin/upload-artifacts

+8-7
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ OS=$($READIES/bin/platform --os)
3939
[[ $OS == linux ]] && OS="Linux"
4040

4141
[[ -z $OSNICK ]] && OSNICK=$($READIES/bin/platform --osnick)
42-
[[ $OSNICK == trusty ]] && OSNICK=ubuntu14.04
43-
[[ $OSNICK == xenial ]] && OSNICK=ubuntu16.04
44-
[[ $OSNICK == bionic ]] && OSNICK=ubuntu18.04
45-
[[ $OSNICK == focal ]] && OSNICK=ubuntu20.04
46-
[[ $OSNICK == jammy ]] && OSNICK=ubuntu22.04
42+
[[ $OSNICK == trusty ]] && OSNICK=ubuntu14.04
43+
[[ $OSNICK == xenial ]] && OSNICK=ubuntu16.04
44+
[[ $OSNICK == bionic ]] && OSNICK=ubuntu18.04
45+
[[ $OSNICK == focal ]] && OSNICK=ubuntu20.04
46+
[[ $OSNICK == jammy ]] && OSNICK=ubuntu22.04
4747
[[ $OSNICK == centos7 ]] && OSNICK=rhel7
4848
[[ $OSNICK == centos8 ]] && OSNICK=rhel8
49-
[[ $OSNICK == ol8 ]] && OSNICK=rhel8
50-
[[ $OSNICK == rocky8 ]] && OSNICK=rhel8
49+
[[ $OSNICK == ol8 ]] && OSNICK=rhel8
50+
[[ $OSNICK == rocky8 ]] && OSNICK=rhel8
51+
[[ $OSNICK == rocky9 ]] && OSNICK=rhel9
5152

5253
[[ $OSNICK == bigsur ]] && OSNICK=catalina
5354

0 commit comments

Comments
 (0)