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:
parent
cd4d0d4a58
commit
db823c57bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue