tools/define-compose-url: change url back to nightly

The latest nightly link for 8.6 was missing only by accident, changing
back as it's fixed already.
This commit is contained in:
Jakub Rusz 2022-04-04 09:54:32 +02:00 committed by Ondřej Budai
parent 72019740c2
commit b782b6cced

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/development/RHEL-8/latest-RHEL-"${VERSION_ID}"/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/development/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 ]]; then
COMPOSE_ID=$(curl -L http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-"${VERSION_ID}"/COMPOSE_ID)