From fa735869323cd76d0d9560cd6d275731ad69f0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Tue, 23 Nov 2021 13:23:03 +0100 Subject: [PATCH] nightly: use boston mirror instead of the redirecter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It often takes a lot of time to synchronize the compose across all mirrors, so it's safer to use just one, otherwise we can get hit by 404s if the compose isn't available yet by a mirror. Signed-off-by: Ondřej Budai --- tools/define-compose-url.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/define-compose-url.sh b/tools/define-compose-url.sh index 3a799cbc2..007a41525 100755 --- a/tools/define-compose-url.sh +++ b/tools/define-compose-url.sh @@ -8,16 +8,16 @@ if [[ $ID != rhel ]]; then fi if [[ $ID == rhel && ${VERSION_ID%.*} == 8 ]]; then - COMPOSE_ID=$(curl -L http://download.devel.redhat.com/rhel-8/nightly/RHEL-8/latest-finished-RHEL-"${VERSION_ID}"/COMPOSE_ID) + COMPOSE_ID=$(curl -L http://download.eng.bos.redhat.com/rhel-8/nightly/RHEL-8/latest-finished-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-8/nightly/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.devel.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-"${VERSION_ID}"/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.devel.redhat.com/rhel-9/nightly/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,