Skip to content

Commit 99c3500

Browse files
committed
Replace EOL centos CI with rockylinux
centos7 has reached EOL on 2024-06-30, centos8 on 2021-10-31. In practical terms this means that their package repositories are offline for the foreseeable future and the CI tasks making use of them might never run again. This patch replaces the existing CI jobs on centos7/centos8 with jobs on rockylinux8/9. Since rockylinux is an open source variant similar to RHEL this should provide testing with similar spirit. In contrast to centos, rockylinux does provide very granular tagging of releases which if used would help avoid breaking on e.g., subtle package changes in their package repositories. I however did not use very precise tags in the patch and instead went with broad "trains" for the 8 and 9 series; I hope this minimizes maintenance overhead (e.g., bumping to new releases) while still giving a good testing signal.
1 parent f438468 commit 99c3500

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.cirrus.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,24 @@ freebsd_task:
1111
test_script: |
1212
sudo -u testuser .ci/unix-test.sh
1313
14-
centos7_task:
14+
rockylinux8_task:
1515
container:
16-
image: centos:7
16+
image: docker.io/rockylinux:8
1717
install_script: |
18-
yum install -y centos-release-scl
19-
yum install -y devtoolset-9
20-
curl -L https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.tar.gz | tar xzvf - -C /usr/local --strip-components 1
18+
dnf group install -y "Development Tools"
19+
dnf install cmake -y
2120
build_script: |
22-
source /opt/rh/devtoolset-9/enable && PATH=$PATH:/usr/local/bin .ci/unix-build.sh
21+
.ci/unix-build.sh
2322
test_script: |
24-
PATH=$PATH:/usr/local/bin .ci/unix-test.sh
23+
.ci/unix-test.sh
2524
26-
centos8_task:
25+
rockylinux9_task:
2726
container:
28-
image: quay.io/centos/centos:stream8
27+
image: docker.io/rockylinux:9
2928
install_script: |
30-
yum group install -y "Development Tools"
31-
curl -L https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.tar.gz | tar xzvf - -C /usr/local --strip-components 1
29+
dnf group install -y "Development Tools"
30+
dnf install cmake -y
3231
build_script: |
33-
PATH=$PATH:/usr/local/bin .ci/unix-build.sh
32+
.ci/unix-build.sh
3433
test_script: |
35-
PATH=$PATH:/usr/local/bin .ci/unix-test.sh
34+
.ci/unix-test.sh

0 commit comments

Comments
 (0)