From 46d41b3bb371b49c9b8fad2a38f844bbeeda83b4 Mon Sep 17 00:00:00 2001 From: Sridhar Ramaswamy Date: Mon, 21 Sep 2015 14:28:58 -0700 Subject: [PATCH] Add experimental devstack gate job for tacker Depends-On: Ic4a0d6fb2dd6e55a50e081e328a62dc4e9bebfd3 Change-Id: I8a458348bfd9115bc38e3cd537dd7ea65882fce1 --- jenkins/jobs/projects.yaml | 5 +++++ jenkins/jobs/tacker.yaml | 36 ++++++++++++++++++++++++++++++++++++ zuul/layout.yaml | 5 +++++ 3 files changed, 46 insertions(+) create mode 100644 jenkins/jobs/tacker.yaml diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index f941c0150e..0615569bb8 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -6733,6 +6733,11 @@ jobs: - gate-{name}-pep8 + - '{pipeline}-tacker-dsvm-functional{branch-designator}': + pipeline: gate + node: 'devstack-precise || devstack-trusty' + branch-designator: '' + branch-override: default - project: name: tacker-horizon diff --git a/jenkins/jobs/tacker.yaml b/jenkins/jobs/tacker.yaml new file mode 100644 index 0000000000..042e1edc96 --- /dev/null +++ b/jenkins/jobs/tacker.yaml @@ -0,0 +1,36 @@ +- job-template: + name: '{pipeline}-tacker-dsvm-functional{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 BRANCH_OVERRIDE={branch-override} + export PROJECTS="stackforge/tacker $PROJECTS" + export DEVSTACK_LOCAL_CONFIG="enable_plugin tacker git://git.openstack.org/stackforge/tacker" + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + + function post_test_hook {{ + bash -xe $BASE/new/tacker/tacker/tests/contrib/post_test_hook.sh dsvm-functional + }} + export -f post_test_hook + + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - test-results + - devstack-logs + - console-log diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 258348b0b1..69dfa9c3ff 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1380,6 +1380,9 @@ jobs: branch: ^(?!stable/(juno|kilo)).*$ voting: false + - name: gate-tacker-dsvm-functional + voting: false + - name: gate-tempest-dsvm-neutron-ipv6only branch: ^master$ voting: false @@ -8981,6 +8984,8 @@ projects: - gate-tacker-pep8 gate: - gate-tacker-pep8 + experimental: + - gate-tacker-dsvm-functional - name: stackforge/tacker-horizon template: