Merge "Move designate pre/post dsvm hooks to the designate repo"

This commit is contained in:
Jenkins 2014-06-09 13:05:26 +00:00 committed by Gerrit Code Review
commit 237db6d6ba

View File

@ -21,13 +21,17 @@
export PROJECTS="stackforge/python-designateclient $PROJECTS"
function pre_test_hook {
# Install designate devstack integration
DESIGNATE_BASE=/opt/stack/new/designate
DEVSTACK_BASE=/opt/stack/new/devstack
cp -R $DESIGNATE_BASE/contrib/devstack/* $DEVSTACK_BASE/
cd /opt/stack/new/designate/contrib/devstack
./pre_test_hook.sh
}
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
./safe-devstack-vm-gate-wrap.sh