n8g-bagpipe: use pre/post gate hooks to fullstack job
Add pre/post gate hoos to the fullstack job.
The hooks are added in master branch in change
which this change depends on, and
don't need to be added in stable branches for which this experimental
job won't be enabled.
Depends-On:
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-bagpipe git://git.openstack.org/openstack/networking-bagpipe"
+ function pre_test_hook {{
+ . $BASE/new/networking-bagpipe/devstack/pre_test_hook.sh fullstack
+ }}
+ export -f pre_test_hook
+
function gate_hook {{
bash -xe $BASE/new/networking-bagpipe/devstack/gate_hook.sh fullstack
}}
export -f gate_hook
+ function post_test_hook {{
+ . $BASE/new/networking-bagpipe/devstack/post_test_hook.sh fullstack
+ }}
+ export -f post_test_hook
+
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bagpipe/devstack/devstack-gate-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
