Skip to content

Commit e0adafb

Browse files
authored
Merge pull request #5054 from kolyshkin/alma10
Add EL10 to CI
2 parents ee8f6b6 + 4f93f06 commit e0adafb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.cirrus.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ task:
1616
RPMS: gcc git-core iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
1717
# yamllint disable rule:key-duplicates
1818
matrix:
19-
DISTRO: almalinux-8
20-
DISTRO: almalinux-9
19+
- DISTRO: almalinux-8
20+
IMAGE_PROJECT: almalinux-cloud
21+
- DISTRO: almalinux-9
22+
IMAGE_PROJECT: almalinux-cloud
23+
- DISTRO: centos-stream-10
24+
IMAGE_PROJECT: centos-cloud
2125

2226
name: ci / $DISTRO
2327

2428
compute_engine_instance:
25-
image_project: almalinux-cloud
29+
image_project: $IMAGE_PROJECT
2630
image: family/$DISTRO
2731
platform: linux
2832
cpu: 4
@@ -33,7 +37,7 @@ task:
3337
*-8)
3438
dnf config-manager --set-enabled powertools # for glibc-static
3539
;;
36-
*-9)
40+
*-9|*-10)
3741
dnf config-manager --set-enabled crb # for glibc-static
3842
dnf -y install epel-release # for fuse-sshfs
3943
# Delegate all cgroup v2 controllers to rootless user via --systemd-cgroup.
@@ -46,9 +50,9 @@ task:
4650
# Work around dnf mirror failures by retrying a few times.
4751
for i in $(seq 0 2); do
4852
sleep $i
49-
yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
53+
dnf install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
5054
done
51-
[ $? -eq 0 ] # fail if yum failed
55+
[ $? -eq 0 ] # fail if dnf failed
5256
5357
case $DISTRO in
5458
*-8)

0 commit comments

Comments
 (0)