scripts: test-bifrost.sh: Initialize the ZUUL_BRANCH variable

Commit afa9951dd92e2 ("Move database setup to bifrost") moved the
openstack_citest database setup from project-config to bifrost.
However, we need to provide a default (even if it's an empty one)
value for ZUUL_BRANCH (eg when running outside of zuul) in order
to not fail due to using 'set -u'. Fixes the following error:

./scripts/test-bifrost.sh: line 76: ZUUL_BRANCH: unbound variable

Change-Id: Iea1193ce0ac83013f4e41398b4e7ad9527d427ac
Fixes: afa9951dd92e2 ("Move database setup to bifrost")
This commit is contained in:
Markos Chandras 2017-03-02 00:41:48 +00:00
parent 6a5a9124d6
commit 1c1277bf76

View File

@ -41,6 +41,7 @@ NOAUTH_MODE=true
ENABLE_KEYSTONE=false
CLOUD_CONFIG=""
WAIT_FOR_DEPLOY=true
ZUUL_BRANCH=${ZUUL_BRANCH:-}
# This sets up the MySQL database like it's done for all OpenStack
# projects for CI testing.