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
This commit is contained in:
parent
177ce561a8
commit
4e99345a8f
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue