Add vexxhost and osic Ubuntu mirror configs to gate check
Two new providers have been added to OpenStack-CI's list of nodepool providers. This patch ensures that we have an appropriate apt mirror configured if the gate job runs on one of those providers. Change-Id: I39d39d413fd4eb4dfa05809c6de12e417f8d0002
This commit is contained in:
parent
721ef48fbf
commit
2e6c545590
@ -67,6 +67,8 @@ if [ -f /etc/nodepool/provider -a -s /etc/nodepool/provider ]; then
|
||||
|
||||
# Get the fastest possible Linux mirror depending on the datacenter where the
|
||||
# tests are running.
|
||||
# The nodepool provider list can be found in:
|
||||
# https://github.com/openstack-infra/project-config/blob/master/nodepool/nodepool.yaml
|
||||
case ${NODEPOOL_PROVIDER} in
|
||||
"rax-dfw"*)
|
||||
export UBUNTU_REPO="http://dfw.mirror.rackspace.com/ubuntu"
|
||||
@ -92,6 +94,12 @@ if [ -f /etc/nodepool/provider -a -s /etc/nodepool/provider ]; then
|
||||
"internap-nyj01"*)
|
||||
export UBUNTU_REPO="http://iad.mirror.rackspace.com/ubuntu"
|
||||
;;
|
||||
"vexxhost-ca-ymq-1"*)
|
||||
export UBUNTU_REPO="http://ubuntu.mirror.vexxhost.com/ubuntu"
|
||||
;;
|
||||
"osic-cloud1"*)
|
||||
export UBUNTU_REPO="http://iad.mirror.rackspace.com/ubuntu"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${UBUNTU_REPO:-}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user