[Kuryr] Use gate hook in dsvm jobs

If gate hook is not used, every changes need to go through
project-config. This is suboptimal because changes in project-config
is not gated by Kuryr.

Change-Id: I88e0e3fe47ec4f76069e6e51d7f5eeaed0553547
This commit is contained in:
Hongbin Lu 2017-04-29 13:25:32 -04:00
parent 0f4e0ef410
commit da15dbbe19
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,11 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh