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:
parent
5fcf0b1d53
commit
eb78fcd85e
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue