neutron-vpnaas: Add hooks for tempset job

Add gate_hook and post_test_hook for the tempest job.
The former will be used to fix the job. [1]
(No need for Depends-On as it's an experimental job.)

[1] I81e712503a20623bf43bd61c39f79efc306f8e9a

Partial-Bug: #1659691
Change-Id: I1d7d3bdd396b891bcbfe2ef7e40ad9351a13981b
This commit is contained in:
YAMAMOTO Takashi 2017-01-27 09:52:14 +09:00
parent 250a9ec412
commit 3e8bba2780
1 changed files with 10 additions and 0 deletions

View File

@ -113,6 +113,16 @@
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh tempest
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh tempest
}}
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