Merge "Move designate pre/post dsvm hooks to the designate repo"
This commit is contained in:
commit
237db6d6ba
@ -21,13 +21,17 @@
|
|||||||
export PROJECTS="stackforge/python-designateclient $PROJECTS"
|
export PROJECTS="stackforge/python-designateclient $PROJECTS"
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Install designate devstack integration
|
cd /opt/stack/new/designate/contrib/devstack
|
||||||
DESIGNATE_BASE=/opt/stack/new/designate
|
./pre_test_hook.sh
|
||||||
DEVSTACK_BASE=/opt/stack/new/devstack
|
|
||||||
cp -R $DESIGNATE_BASE/contrib/devstack/* $DEVSTACK_BASE/
|
|
||||||
}
|
}
|
||||||
export -f pre_test_hook
|
export -f pre_test_hook
|
||||||
|
|
||||||
|
function post_test_hook {
|
||||||
|
cd /opt/stack/new/designate/contrib/devstack
|
||||||
|
./post_test_hook.sh
|
||||||
|
}
|
||||||
|
export -f post_test_hook
|
||||||
|
|
||||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
./safe-devstack-vm-gate-wrap.sh
|
./safe-devstack-vm-gate-wrap.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user