tools/tests: Update rhel10 compose url

Update a rhel 10 compose url to point to nightly instead of public beta.
Fix for a failing rhel 10 nightly pipeline.
This commit is contained in:
Tom Koscielniak 2024-12-06 10:25:00 +01:00 committed by Tomáš Hozza
parent 3561202acc
commit 1193187e0a

View file

@ -21,10 +21,10 @@ if [[ $ID == rhel && ${VERSION_ID%.*} == 9 ]]; then
COMPOSE_URL="${COMPOSE_URL:-http://download.devel.redhat.com/rhel-9/nightly/RHEL-9/$COMPOSE_ID}"
elif [[ $ID == rhel && ${VERSION_ID%.*} == 10 ]]; then
COMPOSE_ID=$(curl -L http://download.devel.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-"${VERSION_ID}"/COMPOSE_ID)
COMPOSE_ID=$(curl -L http://download.devel.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-"${VERSION_ID}"/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.devel.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/$COMPOSE_ID}"
COMPOSE_URL="${COMPOSE_URL:-http://download.devel.redhat.com/rhel-10/nightly/RHEL-10/$COMPOSE_ID}"
fi
# in case COMPOSE_URL was defined from the outside refresh COMPOSE_ID file,