From aff680542d635515a716fdbc4450c88ea934fc79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 12 Jul 2021 12:22:49 +0200 Subject: [PATCH] test/koji: always build the latest RHEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use the koji API to build RHEL nightlies, therefore we should build only development versions in the testsuite. Signed-off-by: Ondřej Budai --- test/cases/koji.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/cases/koji.sh b/test/cases/koji.sh index 6ec581f2d..1e143af49 100755 --- a/test/cases/koji.sh +++ b/test/cases/koji.sh @@ -44,6 +44,11 @@ koji --server=http://localhost:8080/kojihub --user=osbuild --password=osbuildpas greenprint "Creating Koji task" koji --server=http://localhost:8080/kojihub --user kojiadmin --password kojipass --authtype=password make-task image +# Always build the latest RHEL - that suits the koji API usecase the most. +if [[ "$DISTRO_CODE" == rhel-8* ]]; then + DISTRO_CODE=rhel-85 +fi + greenprint "Pushing compose to Koji" sudo /usr/libexec/osbuild-composer-test/koji-compose.py "$DISTRO_CODE" "${ARCH}"