test/cross-distro: building c8s is no longer supported by any distro

c8s is EOL.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-03-18 14:05:39 +01:00 committed by Simon de Vlieger
parent b010a855f6
commit d00a658752

View file

@ -33,13 +33,9 @@ case $ID in
centos) centos)
MAJOR=$(echo "$VERSION_ID" | sed -E 's/\..*//') MAJOR=$(echo "$VERSION_ID" | sed -E 's/\..*//')
case $MAJOR in case $MAJOR in
8)
# CentOS 8 only supports building CentosOS 8
PATTERN="\[|\]|centos-8"
;;
9) 9)
# CentOS 9 supports building CentosOS 8 and 9 # CentOS 9 supports building CentosOS 9
PATTERN="\[|\]|centos-(8|9)" PATTERN="\[|\]|centos-(9)"
;; ;;
*) *)
# CentOS 10 and later support building all releases # CentOS 10 and later support building all releases