[Kuryr] Use gate hook in rally 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: I4cdc2c81349557480609e0490ff7fb1f9dc5d928
This commit is contained in:
Hongbin Lu 2017-05-02 23:53:13 -04:00
parent 6a0a78f1b8
commit c32f9ea6b2
1 changed files with 5 additions and 0 deletions

View File

@ -173,6 +173,11 @@
export ENABLED_SERVICES=kuryr-libnetwork,etcd-server,docker-engine
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}