Add stable jobs to the gate

Since neutron-tempest-plugin is branchless, it is necessary to gate
againest all stable branches to avoid breakage in stable branches.

Related-Bug: #1765008
Change-Id: Ib175678c0a655568054a4c2d595b890ff85e00ec
This commit is contained in:
Hongbin Lu 2018-04-18 19:18:43 +00:00
parent 7b410edc39
commit 9522a7e644
2 changed files with 42 additions and 1 deletions

View File

@ -102,6 +102,13 @@
- ^tools/.*$
- ^tox.ini$
- job:
name: neutron-tempest-plugin-api-queens
parent: neutron-tempest-plugin-api
override-checkout: stable/queens
vars:
branch_override: stable/queens
- job:
name: neutron-tempest-plugin-scenario-linuxbridge
parent: neutron-tempest-plugin-scenario
@ -118,6 +125,13 @@
AGENT:
debug_iptables_rules: true
- job:
name: neutron-tempest-plugin-scenario-linuxbridge-queens
parent: neutron-tempest-plugin-scenario-linuxbridge
override-checkout: stable/queens
vars:
branch_override: stable/queens
- job:
name: neutron-tempest-plugin-dvr-multinode-scenario
parent: legacy-dsvm-base-multinode
@ -142,6 +156,13 @@
- ^tox.ini$
voting: false
- job:
name: neutron-tempest-plugin-dvr-multinode-scenario-queens
parent: neutron-tempest-plugin-dvr-multinode-scenario
override-checkout: stable/queens
vars:
branch_override: stable/queens
- job:
name: neutron-tempest-plugin-designate-scenario
parent: neutron-tempest-plugin-scenario
@ -168,6 +189,13 @@
- ^setup.cfg$
voting: false
- job:
name: neutron-tempest-plugin-designate-scenario-queens
parent: neutron-tempest-plugin-designate-scenario
override-checkout: stable/queens
vars:
branch_override: stable/queens
- project-template:
name: neutron-tempest-plugin-jobs
check:
@ -182,6 +210,19 @@
- neutron-tempest-plugin-api
- build-openstack-sphinx-docs
- project-template:
name: neutron-tempest-plugin-jobs-stable
check:
jobs:
- neutron-tempest-plugin-api-queens
- neutron-tempest-plugin-designate-scenario-queens
- neutron-tempest-plugin-dvr-multinode-scenario-queens
- neutron-tempest-plugin-scenario-linuxbridge-queens
gate:
jobs:
- neutron-tempest-plugin-api-queens
- project:
templates:
- neutron-tempest-plugin-jobs
- neutron-tempest-plugin-jobs-stable

View File

@ -34,7 +34,7 @@
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_TEMPEST_REGEX="neutron_tempest_plugin.api"
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron-tempest-plugin git://git.openstack.org/openstack/neutron-tempest-plugin"
export BRANCH_OVERRIDE=default
export BRANCH_OVERRIDE="{{ branch_override | default('default') }}"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi