Add check/gate jobs for the networking-odl project

This enables a job which will use OpenDaylight as the Neutron
plugin. This will run for commits against the networking-odl
project in stackforge. Make this non-voting initially.

Change-Id: Idce9475eb69be9def2f31ae61c197787da72f755
This commit is contained in:
Kyle Mestery 2015-02-06 21:50:03 +00:00
parent 332531a723
commit ce97e3e10b
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,41 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-odl{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-odl $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-odl git://git.openstack.org/stackforge/networking-odl"
# 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

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

View File

@ -613,6 +613,9 @@ jobs:
branch: ^(?!stable/(?:icehouse|juno)).*$
- name: check-neutron-vpnaas-dsvm-functional
voting: false
- name: ^(gate|check)-tempest-dsvm-networking-odl
branch: ^(?!stable)
voting: false
# For Gerrit ver 2.4.x (using maven)
- name: ^(gate|check)-gerrit-unittests$
branch: ^openstack/2\.4.*$
@ -5130,6 +5133,10 @@ projects:
template:
- name: merge-check
- name: python-jobs
check:
- check-tempest-dsvm-networking-odl
gate:
- gate-tempest-dsvm-networking-odl
- name: stackforge/networking-ofagent
template: