From eb78fcd85e46426f69c2fae08097578d491ca822 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Thu, 16 Jun 2022 11:10:53 +0200 Subject: [PATCH] tests/koji: build latest RHEL when running on RHEL Based on https://github.com/osbuild/osbuild-composer/commit/aff680542d635515a716fdbc4450c88ea934fc79 this test is supposed to always build the latest available compose. --- test/cases/koji.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/cases/koji.sh b/test/cases/koji.sh index ff7ddb4ec..ec1459374 100755 --- a/test/cases/koji.sh +++ b/test/cases/koji.sh @@ -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