Set DEVSTACK_GATE_SETTINGS for midonet gate job

In order to allow management of the midonet gate job from within the
networking-midonet project, set DEVSTACK_GATE_SETTINGS variable to the
devstackgaterc file of networking-midonet project, which contains the
gate job configurations.

blueprint midonet-devstackgaterc
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>

Change-Id: Ie74e69193c7ac6a3d93103218246ce4bae788e5c
This commit is contained in:
Ryu Ishimoto 2015-07-31 05:47:59 +00:00
parent 61fa1e70d9
commit 7ac36b3da3

View File

@ -35,21 +35,7 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# We are only interested on Neutron, so very few services are needed
# to deploy devstack and run the tests
s=""
s+="mysql,rabbit"
s+=",key"
s+=",n-api,n-cond,n-cpu,n-crt,n-obj,n-sch"
s+=",g-api,g-reg"
s+=",q-dhcp,q-meta,q-svc,quantum"
s+=",tempest"
export OVERRIDE_ENABLED_SERVICES="$s"
# Run api network tests, for it is the only api that MidoNet
# implements; and the scenario ones for higher level tests
export DEVSTACK_GATE_TEMPEST_REGEX="tempest.api.network \
tempest.scenario"
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
@ -101,21 +87,7 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# We are only interested on Neutron, so very few services are needed
# to deploy devstack and run the tests
s=""
s+="mysql,rabbit"
s+=",key"
s+=",n-api,n-cond,n-cpu,n-crt,n-obj,n-sch"
s+=",g-api,g-reg"
s+=",q-dhcp,q-meta,q-svc,quantum"
s+=",tempest"
export OVERRIDE_ENABLED_SERVICES="$s"
# Run api network tests, for it is the only api that MidoNet
# implements; and the scenario ones for higher level tests
export DEVSTACK_GATE_TEMPEST_REGEX="tempest.api.network \
tempest.scenario"
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
@ -168,21 +140,7 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-midonet/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-midonet/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-midonet/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-midonet/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=$BASE/new/networking-midonet/devstack/devstackgaterc
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