neutron: trigger gate hooks for dvr scenario job
Note: the job will pass the same first argument into the gate hook as non-DVR job. We will use DEVSTACK_GATE_NEUTRON_DVR to distinguish the flavour if needed. Change-Id: I1fa3eaa3788a844f662adc98de1ec8d11f221d6b
This commit is contained in:
parent
b75e44e19c
commit
a2ed24904f
@ -680,6 +680,16 @@
|
|||||||
fi
|
fi
|
||||||
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
||||||
|
|
||||||
|
function gate_hook {{
|
||||||
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario
|
||||||
|
}}
|
||||||
|
export -f gate_hook
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario
|
||||||
|
}}
|
||||||
|
export -f post_test_hook
|
||||||
|
|
||||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
./safe-devstack-vm-gate-wrap.sh
|
./safe-devstack-vm-gate-wrap.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user