Add a gate_hook to gate-designate-devstack-dsvm
This allows Designate to correctly affect the gate environment variables before a DevStack run. Change-Id: I0c44229b2f67c9ea50e3f8786dccd8c50eb8e5e3
This commit is contained in:
parent
46130f618d
commit
de32e0cfa6
@ -19,13 +19,14 @@
|
||||
export PROJECTS="openstack/designate $PROJECTS"
|
||||
export PROJECTS="openstack/python-designateclient $PROJECTS"
|
||||
|
||||
function gate_hook {
|
||||
cd /opt/stack/new/designate/contrib/devstack
|
||||
./gate_hook.sh
|
||||
}
|
||||
export -f gate_hook
|
||||
|
||||
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