From f06d7bbea3de77d24d75fa15e8d2328e6a67dfdc Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Thu, 10 Aug 2017 21:17:00 -0600 Subject: [PATCH] Switch to use local buildlogs mirror We're still trying to pull packages from buildlogs.centos.org for the delorean-pike-testing repo. This change will swap out for the local buildlogs mirror if available. Change-Id: Iae48b4c9f11bbfed42f32ab0b4f8936284a3d44c Related-Bug: #1709327 --- scripts/tripleo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/tripleo.sh b/scripts/tripleo.sh index b079c2822..c7b09aafc 100755 --- a/scripts/tripleo.sh +++ b/scripts/tripleo.sh @@ -175,6 +175,7 @@ if [[ -e /etc/ci/mirror_info.sh ]]; then fi NODEPOOL_CENTOS_MIRROR=${NODEPOOL_CENTOS_MIRROR:-http://mirror.centos.org/centos} NODEPOOL_RDO_PROXY=${NODEPOOL_RDO_PROXY:-https://trunk.rdoproject.org} +NODEPOOL_BUILDLOGS_CENTOS_PROXY="${NODEPOOL_BUILDLOGS_CENTOS_PROXY:-https://buildlogs.centos.org}" OVERCLOUD_IMAGES_DIB_YUM_REPO_CONF=${OVERCLOUD_IMAGES_DIB_YUM_REPO_CONF}"\ $REPO_PREFIX/$CEPH_REPO_FILE" OPSTOOLS_REPO_ENABLED=${OPSTOOLS_REPO_ENABLED:-"0"} @@ -326,6 +327,7 @@ EOF" sudo curl -Lvo $REPO_PREFIX/delorean-deps.repo https://trunk.rdoproject.org/centos7/delorean-deps.repo sudo sed -i -e 's%priority=.*%priority=30%' $REPO_PREFIX/delorean-deps.repo sudo sed -i -e "s~http://mirror.centos.org/centos~$NODEPOOL_CENTOS_MIRROR~" $REPO_PREFIX/delorean-deps.repo + sudo sed -i -e "s~https://buildlogs.centos.org~$NODEPOOL_BUILDLOGS_CENTOS_PROXY~" $REPO_PREFIX/delorean-deps.repo cat $REPO_PREFIX/delorean-deps.repo # Enable last known good RDO Trunk Delorean repository @@ -354,6 +356,7 @@ EOF" sudo curl -Lvo $REPO_PREFIX/delorean-deps.repo https://trunk.rdoproject.org/centos7-$STABLE_RELEASE/delorean-deps.repo sudo sed -i -e 's%priority=.*%priority=30%' $REPO_PREFIX/delorean-deps.repo sudo sed -i -e "s~http://mirror.centos.org/centos~$NODEPOOL_CENTOS_MIRROR~" $REPO_PREFIX/delorean-deps.repo + sudo sed -i -e "s~https://buildlogs.centos.org~$NODEPOOL_BUILDLOGS_CENTOS_PROXY~" $REPO_PREFIX/delorean-deps.repo cat $REPO_PREFIX/delorean-deps.repo # Enable delorean current for the stable version