From 9349e7f724392871f692c73bc801289f18c41eca Mon Sep 17 00:00:00 2001 From: Jaume Devesa Date: Fri, 27 Feb 2015 15:39:36 +0100 Subject: [PATCH] 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 --- jenkins/jobs/networking-midonet.yaml | 41 ++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 10 +++++++ zuul/layout.yaml | 5 ++++ 3 files changed, 56 insertions(+) create mode 100644 jenkins/jobs/networking-midonet.yaml diff --git a/jenkins/jobs/networking-midonet.yaml b/jenkins/jobs/networking-midonet.yaml new file mode 100644 index 0000000000..2d15379bfc --- /dev/null +++ b/jenkins/jobs/networking-midonet.yaml @@ -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 diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 7feac8cf3c..8ca3de92f9 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -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 diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 236400910b..3ef9feb935 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -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: