Set ZUUL_URL before configuring workspace.

ZUUL_URL needs to be set before the setup_workspace function uses it.
Make sure it is set first.

Change-Id: If0e52ee2fed5fdff4a11f9eb755efed593ea5439
This commit is contained in:
Clark Boylan
2013-06-17 13:08:03 -07:00
parent dc6dbda64c
commit 2553ecdc2b

View File

@@ -308,6 +308,9 @@ export BASE=/opt/stack
# we are testing the proposed change from this point forward.
GATE_SCRIPT_DIR=$BASE/new/devstack-gate
# The URL from which to fetch ZUUL references
export ZUUL_URL=${ZUUL_URL:-http://zuul.openstack.org/p}
# Make a directory to store logs
rm -rf logs
mkdir -p logs
@@ -323,9 +326,6 @@ if [[ $ZUUL_PROJECT == "openstack-infra/devstack-gate" ]] && [[ $RE_EXEC != "tru
exec $GATE_SCRIPT_DIR/devstack-vm-gate-wrap.sh
fi
# 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}