Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ task:
RPMS: gcc git-core iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
# yamllint disable rule:key-duplicates
matrix:
DISTRO: almalinux-8
DISTRO: almalinux-9
- DISTRO: almalinux-8
IMAGE_PROJECT: almalinux-cloud
- DISTRO: almalinux-9
IMAGE_PROJECT: almalinux-cloud
- DISTRO: centos-stream-10
IMAGE_PROJECT: centos-cloud

name: ci / $DISTRO

compute_engine_instance:
image_project: almalinux-cloud
image_project: $IMAGE_PROJECT
image: family/$DISTRO
platform: linux
cpu: 4
Expand All @@ -33,7 +37,7 @@ task:
*-8)
dnf config-manager --set-enabled powertools # for glibc-static
;;
*-9)
*-9|*-10)
dnf config-manager --set-enabled crb # for glibc-static
dnf -y install epel-release # for fuse-sshfs
# Delegate all cgroup v2 controllers to rootless user via --systemd-cgroup.
Expand All @@ -46,9 +50,9 @@ task:
# Work around dnf mirror failures by retrying a few times.
for i in $(seq 0 2); do
sleep $i
yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
dnf install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
done
[ $? -eq 0 ] # fail if yum failed
[ $? -eq 0 ] # fail if dnf failed

case $DISTRO in
*-8)
Expand Down