From 2e6c545590904986ea29ad7c57576962d8f247c1 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 8 Mar 2016 14:53:35 +0000 Subject: [PATCH] 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 --- scripts/gate-check-commit.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/gate-check-commit.sh b/scripts/gate-check-commit.sh index ea3093c3d5..977b39044a 100755 --- a/scripts/gate-check-commit.sh +++ b/scripts/gate-check-commit.sh @@ -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