Add non-voting tempest dsvm job for Midonet

Add the non-voting tempest dsvm job for `networking-midonet` project,
which should run only for master branch. It is based in Kyle Mestery's
patch for `networking-odl`.

Change-Id: I922e37039c9f7fefd1238a7b9d6430e00f8ba126
This commit is contained in:
Jaume Devesa 2015-02-27 15:39:36 +01:00 committed by Anita Kuno
parent 6996060c22
commit 9349e7f724
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,41 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-midonet{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="stackforge/networking-midonet $PROJECTS"
# Note the actual url here is somewhat irrelevant because it
# caches in nodepool, however make it a valid url for
# documentation purposes.
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-midonet git://git.openstack.org/stackforge/networking-midonet"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -3796,6 +3796,16 @@
jobs:
- python-jobs
- pypi-jobs
- '{pipeline}-tempest-dsvm-networking-midonet{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- '{pipeline}-tempest-dsvm-networking-midonet{branch-designator}':
pipeline: gate
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: networking-mlnx

View File

@ -651,6 +651,9 @@ jobs:
branch: ^(?!stable/icehouse).*$
- name: gate-designate-dsvm-bind9
branch: ^(?!stable/(?:icehouse|juno)).*$
- name: ^(gate|check)-tempest-dsvm-networking-midonet
branch: ^(?!stable/(icehouse|juno)).*$
voting: false
- name: ^(gate|check)-tempest-dsvm-networking-odl
branch: ^(?!stable)
voting: false
@ -5293,6 +5296,8 @@ projects:
- name: merge-check
- name: python-jobs
- name: publish-to-pypi
check:
- check-tempest-dsvm-networking-midonet
- name: stackforge/networking-mlnx
template: