Revert "test: Update nightly compose URL to updates URL"

This reverts commit 422e70c8ce because it
breaks nightly CI testing with 8.8 and 9.2.
This commit is contained in:
Alexander Todorov 2022-11-28 14:26:58 +02:00 committed by Jakub Rusz
parent 5aae10c951
commit b41353f01c

View file

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