tests/koji: build latest RHEL when running on RHEL

Based on
aff680542d
this test is supposed to always build the latest available compose.
This commit is contained in:
Jakub Rusz 2022-06-16 11:10:53 +02:00 committed by Ondřej Budai
parent 5fcf0b1d53
commit eb78fcd85e

View file

@ -51,7 +51,9 @@ koji --server=http://localhost:8080/kojihub --user kojiadmin --password kojipass
# Always build the latest RHEL - that suits the koji API usecase the most.
if [[ "$DISTRO_CODE" == rhel-8* ]]; then
DISTRO_CODE=rhel-86
DISTRO_CODE=rhel-87
elif [[ "$DISTRO_CODE" == rhel-9* ]]; then
DISTRO_CODE=rhel-91
fi
if [ "${COMPOSER_API:=true}" == "true" ]; then