From 6f37df77774f90a6365d46af0a41a80e7dcd6562 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Sat, 19 Nov 2022 17:54:19 +0100 Subject: [PATCH] tools/define-compose-url: fix RHEL 9.1 compose URL RHEL 9.1 currently doesn't have a 'latest' compose. Use most recent date-stamped build. --- tools/define-compose-url.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/define-compose-url.sh b/tools/define-compose-url.sh index 620bb8f44..d1febe3d7 100755 --- a/tools/define-compose-url.sh +++ b/tools/define-compose-url.sh @@ -13,6 +13,12 @@ if [[ $ID == rhel && ${VERSION_ID%.*} == 8 ]]; then # default to a nightly tree but respect values passed from ENV so we can test rel-eng composes as well COMPOSE_URL="${COMPOSE_URL:-http://download.eng.bos.redhat.com/rhel-8/nightly/RHEL-8/$COMPOSE_ID}" +elif [[ $ID == rhel && ${VERSION_ID} == "9.1" ]]; then + # RHEL 9.1 currently doesn't have a 'latest' compose; use most recent date-stamped build + COMPOSE_ID="RHEL-9.1.0-20221027.3/COMPOSE_ID" + + # default to a nightly tree but respect values passed from ENV so we can test rel-eng composes as well + COMPOSE_URL="${COMPOSE_URL:-http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9/$COMPOSE_ID}" elif [[ $ID == rhel && ${VERSION_ID%.*} == 9 ]]; then COMPOSE_ID=$(curl -L http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-"${VERSION_ID}"/COMPOSE_ID)