tools/define-compose-url: fix RHEL 9.1 compose URL
RHEL 9.1 currently doesn't have a 'latest' compose. Use most recent date-stamped build.
This commit is contained in:
parent
0e2f8bb115
commit
6f37df7777
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ 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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue