diff --git a/tools/define-compose-url.sh b/tools/define-compose-url.sh index 620bb8f44..966b11721 100755 --- a/tools/define-compose-url.sh +++ b/tools/define-compose-url.sh @@ -7,13 +7,7 @@ if [[ $ID != rhel ]]; then return 0 fi -if [[ $ID == rhel && ${VERSION_ID%.*} == 8 ]]; then - 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/RHEL-8/$COMPOSE_ID}" - -elif [[ $ID == rhel && ${VERSION_ID%.*} == 9 ]]; then +if [[ $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) # default to a nightly tree but respect values passed from ENV so we can test rel-eng composes as well