define-compose-url.sh: drop condition for RHEL-9.1

We are long time past RHEL-9.1 development and this is therefore not
needed any more.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2024-07-19 10:18:20 +02:00 committed by Achilleas Koutsou
parent ef4bfb0bd5
commit 3e8dc4ca8c

View file

@ -13,12 +13,6 @@ 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)