@@ -89,8 +89,10 @@ build_or_list_images() {
8989 for arch in " ${architectures[@]} " ; do
9090 for variant in " ${variants[@]} " ; do
9191 # apk apt dnf egoportage opkg pacman portage yum equo xbps zypper luet slackpkg
92- if [[ " $run_funct " == " centos" || " $run_funct " == " fedora " || " $run_funct " == " openeuler" ]]; then
92+ if [[ " $run_funct " == " centos" || " $run_funct " == " openeuler" ]]; then
9393 manager=" yum"
94+ elif [[ " $run_funct " == " fedora" ]]; then
95+ manager=" dnf"
9496 elif [[ " $run_funct " == " kali" || " $run_funct " == " ubuntu" || " $run_funct " == " debian" ]]; then
9597 manager=" apt"
9698 elif [[ " $run_funct " == " almalinux" || " $run_funct " == " rockylinux" || " $run_funct " == " oracle" ]]; then
@@ -262,34 +264,26 @@ centos)
262264 build_or_list_images " 9-Stream" " 9" " default cloud"
263265 ;;
264266almalinux)
265- URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-almalinux.yaml"
266- curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
267- build_or_list_images " $curl_output " " $curl_output " " default cloud"
267+ build_or_list_images " 8 9 10" " 8 9 10" " default cloud"
268268 ;;
269269rockylinux)
270- URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-rockylinux.yaml"
271- curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
272- build_or_list_images " $curl_output " " $curl_output " " default cloud"
270+ build_or_list_images " 8 9 10" " 8 9 10" " default cloud"
273271 ;;
274272alpine)
275273 URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-alpine.yaml"
276274 curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
277275 build_or_list_images " $curl_output " " $curl_output " " default cloud"
278276 ;;
279277openwrt)
280- URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-openwrt.yaml"
281- curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
282- build_or_list_images " $curl_output " " $curl_output " " default cloud"
278+ build_or_list_images " 23.05 24.10" " 23.05 24.10" " default cloud"
283279 ;;
284280oracle)
285281 URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-oracle.yaml"
286282 curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
287283 build_or_list_images " $curl_output " " $curl_output " " default cloud"
288284 ;;
289285fedora)
290- URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-fedora.yaml"
291- curl_output=$( curl -s " $URL " | awk ' /name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed ' s/"//g' )
292- build_or_list_images " $curl_output " " $curl_output " " default cloud"
286+ build_or_list_images " 41 42" " 41 42" " default cloud"
293287 ;;
294288opensuse)
295289 URL=" https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-opensuse.yaml"
0 commit comments