From 5e6d5edd5cda2c3fd389232e5234804523582e6c Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 3 Jun 2013 14:58:11 -0700 Subject: [PATCH] Make Zuul URL configurable. The better to use with a dev zuul instance. Change-Id: I4b3b09db682a0b566e7942e14d33865ea8576ed7 --- devstack-vm-gate-wrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index 4ec10326..6f6e8a24 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -21,6 +21,9 @@ PROJECTS="openstack-dev/devstack openstack-dev/grenade openstack-dev/pbr openstack/nova openstack/glance openstack/keystone openstack/python-novaclient openstack/python-keystoneclient openstack/python-quantumclient openstack/python-glanceclient openstack/python-openstackclient openstack/horizon openstack/quantum openstack/tempest openstack/cinder openstack/python-cinderclient openstack/swift openstack/python-swiftclient ${PROJECTS}" +# The URL from which to fetch ZUUL references +export ZUUL_URL=${ZUUL_URL:-http://zuul.openstack.org/p} + # Set to 1 to run the Tempest test suite export DEVSTACK_GATE_TEMPEST=${DEVSTACK_GATE_TEMPEST:-0} @@ -186,7 +189,7 @@ function setup_workspace { if [ $CHECKOUT_ZUUL -eq "1" ]; then # See if Zuul prepared a ref for this project if [ "$ZUUL_REF" != "" ] && \ - git fetch http://zuul.openstack.org/p/$PROJECT $ZUUL_REF; then + git fetch $ZUUL_URL/$PROJECT $ZUUL_REF; then # It's there, so check it out. git checkout FETCH_HEAD git reset --hard FETCH_HEAD