Use neutron's api job to validate func job change

A recent commit to devstack-gate added support for limiting the repos
that are updated for a node by overriding the PROJECTS variable.  This
change temporarily repurposes neutron's api job to check that setting
this override is compatible with the functional job.  The api job is
currently non-voting, so no patches will be harmed in the process.

Change-Id: I7591569d3f039eeebed859333b29dd63104cd389
This commit is contained in:
Maru Newby 2015-02-25 19:22:47 +00:00
parent 96a2f894e3
commit b18645b80e

View File

@ -21,18 +21,19 @@
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TESTR_ARTIFACT_TARGET=neutron
export DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack-dev/devstack openstack/neutron"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh api
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh api
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-functional
}}
export -f post_test_hook