From 84125f78ce5a0cbf3912d1a31f3ee2db1156cc8f Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Wed, 11 Feb 2015 05:29:40 +1100 Subject: [PATCH] Add test job for sheepdog devstack plugin This creates a non voting check job for the sheepdog devstack plugin. Change-Id: I3bc070cf5b380e902207b135d2c1dde378147d96 --- jenkins/jobs/devstack-gate.yaml | 34 +++++++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 5 +++++ zuul/layout.yaml | 3 +++ 3 files changed, 42 insertions(+) diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index 4aaca4cb7d..e543a8fc5a 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -1786,6 +1786,40 @@ - console-log +- job-template: + name: '{pipeline}-tempest-dsvm-full-sheepdog{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_TEMPEST=1 + export DEVSTACK_GATE_TEMPEST_FULL=1 + export BRANCH_OVERRIDE={branch-override} + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + export PROJECTS="stackforge/devstack-plugin-sheepdog $PROJECTS" + export DEVSTACK_LOCAL_CONFIG="enable_plugin devstack-plugin-sheepdog git://git.openstack.org/stackforge/devstack-plugin-sheepdog" + + 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 + + - job: name: gate-devstack-gate-unittests node: 'bare-precise || bare-trusty' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index c584391133..3f4061da1d 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -1853,6 +1853,11 @@ jobs: - gate-{name}-bashate + - '{pipeline}-tempest-dsvm-full-sheepdog{branch-designator}': + pipeline: check + node: 'devstack-trusty' + branch-designator: '' + branch-override: default - project: name: hacking diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 50af60695c..de78d1e8f0 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -868,6 +868,8 @@ jobs: voting: false - name: check-tempest-dsvm-full-glusterfs-centos7 voting: false + - name: check-tempest-dsvm-full-sheepdog + voting: false - name: gate-tomograph-python34 voting: false - name: gate-cliff-requirements @@ -4476,6 +4478,7 @@ projects: - name: merge-check check: - gate-devstack-plugin-sheepdog-bashate + - check-tempest-dsvm-full-sheepdog gate: - gate-devstack-plugin-sheepdog-bashate