networking-midonet: Provide gate hooks for the grenade job

It will be used to set OVERRIDE_ENABLED_SERVICES so that
grenade.sh will see the correct set of services.

Partial-Bug: #1516523
Change-Id: If4a518b172fe16b7dfcfb62b7b103144ae7be274
This commit is contained in:
YAMAMOTO Takashi 2016-09-27 23:51:28 +09:00
parent 648ada1f5f
commit 510b6fc451

View File

@ -271,6 +271,13 @@
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/networking-midonet/devstack/ci/gate_hook.sh grenade
}}
export -f gate_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-midonet/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh