File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff 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
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.
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)
You can’t perform that action at this time.
0 commit comments