Set ZAQAR_BACKEND in localrc if present
In order to add more gates on different backends for Zaqar, we need to set the ZAQAR_BACKEND env var in devstack. Setting it in the job is not enough since we need to teach devstack-gate.sh what to do with it. This patch does exactly that. The ZAQAR_BACKEND variable will be appended to localrc if it's been set. Change-Id: Ie629d6233798bd44663dfddb3ec02e3cdc1a69fe
This commit is contained in:
committed by
Flavio Percoco
parent
3875417fd9
commit
c9d69d8b21
@@ -316,6 +316,9 @@ export OVERRIDE_ZUUL_BRANCH=${OVERRIDE_ZUUL_BRANCH:-$ZUUL_BRANCH}
|
||||
# postgresql, mongodb.
|
||||
export DEVSTACK_GATE_CEILOMETER_BACKEND=${DEVSTACK_GATE_CEILOMETER_BACKEND:-mysql}
|
||||
|
||||
# Set Zaqar backend to override the default one. It could be mongodb, redis.
|
||||
export DEVSTACK_GATE_ZAQAR_BACKEND=${DEVSTACK_GATE_ZAQAR_BACKEND:-mongodb}
|
||||
|
||||
if ! function_exists "gate_hook"; then
|
||||
# the command we use to run the gate
|
||||
function gate_hook {
|
||||
|
||||
@@ -113,6 +113,7 @@ CINDER_PERIODIC_INTERVAL=10
|
||||
export OS_NO_CACHE=True
|
||||
CEILOMETER_BACKEND=$DEVSTACK_GATE_CEILOMETER_BACKEND
|
||||
LIBS_FROM_GIT=$DEVSTACK_PROJECT_FROM_GIT
|
||||
ZAQAR_BACKEND=$DEVSTACK_GATE_ZAQAR_BACKEND
|
||||
EOF
|
||||
|
||||
if [[ "$DEVSTACK_CINDER_SECURE_DELETE" -eq "0" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user