Allow env variable customizations in the Designate DevStack gate
Before running the tests, we source gate-env.bash if it exists, allowing for DevStack env variables to be configured. Change-Id: Idb9627c92646fb5875cdb95c8e20ea1e8c68198c
This commit is contained in:
parent
a1953fd4ae
commit
3ccf12f9aa
@ -21,6 +21,11 @@
|
||||
|
||||
function pre_test_hook {
|
||||
cd /opt/stack/new/designate/contrib/devstack
|
||||
|
||||
if [ -f gate-env.bash ]; then
|
||||
source gate-env.bash
|
||||
fi
|
||||
|
||||
./pre_test_hook.sh
|
||||
}
|
||||
export -f pre_test_hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user