Default some needed variables

These variables are expected to be defined by tripleo-ci scripts. They
are usually defined by the infra generated environment when tripleo-ci
jobs are executed. However, for running tripleo-ci scripts locally, we
need to default them to some sane values.

Change-Id: Ib6b769822522d4328447523e68ff238132b0f561
This commit is contained in:
James Slagle 2017-01-26 14:30:38 -05:00
parent cd4d0d4a58
commit db823c57bb
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ if [ -z "$STABLE_RELEASE" ] && [ "$ZUUL_BRANCH" != "master" ]; then
fi
export TRIPLEO_ROOT=${TRIPLEO_ROOT:-"/opt/stack/new"}
export WORKSPACE=${WORKSPACE:-"$TRIPLEO_ROOT/workspace"}
export DEVSTACK_GATE_TIMEOUT=${DEVSTACK_GATE_TIMEOUT:-"180"}
export PATH=/sbin:/usr/sbin:$PATH
export UNDERCLOUD_VM_NAME=instack