From 4e99345a8f625b211ff09cdaf191d7357728f269 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 17 Apr 2017 15:56:48 -0400 Subject: [PATCH] Fix CURRENT_TRIPLEO_MIRROR logic in tripleo-ci Fix the second export of CURRENT_TRIPLEO_MIRROR so we actally export the right URL with the correct hash of current-tripleo. Change-Id: I9669d40d86d762101734704fcef153e360767690 --- config/release/tripleo-ci/master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/release/tripleo-ci/master.yml b/config/release/tripleo-ci/master.yml index 7783d6bb6..8549d5e1c 100644 --- a/config/release/tripleo-ci/master.yml +++ b/config/release/tripleo-ci/master.yml @@ -29,7 +29,7 @@ repo_cmd_before: | source /etc/nodepool/provider; export NODEPOOL_MIRROR_HOST=$(echo "http://mirror.$NODEPOOL_REGION.$NODEPOOL_CLOUD.openstack.org" | tr '[:upper:]' '[:lower:]'); export CURRENT_RDO_MIRROR=${CURRENT_RDO_MIRROR/https:\/\/trunk.rdoproject.org/$NODEPOOL_MIRROR_HOST:8080/rdo} - export CURRENT_TRIPLEO_MIRROR=${CURRENT_RDO_MIRROR/https:\/\/trunk.rdoproject.org/$NODEPOOL_MIRROR_HOST:8080/rdo} + export CURRENT_TRIPLEO_MIRROR=${CURRENT_TRIPLEO_MIRROR/https:\/\/trunk.rdoproject.org/$NODEPOOL_MIRROR_HOST:8080/rdo} fi # Otherwise, fallback to official mirrors provided by CentOS. export NODEPOOL_MIRROR_HOST="${NODEPOOL_MIRROR_HOST:-http://mirror.centos.org}"