From dfab0962ad3de6543e77e57d54c000c5ffbd28eb Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Wed, 27 Nov 2013 13:15:58 +0400 Subject: [PATCH] Add gate-climate-devstack-dsvm Initial non-voting devstack gate job for the stackforge project Climate. The main purpose of this job is to test devstack integration before adding testing to it. Implements blueprint climate-devstack-gating Change-Id: Ifa76365d849b51926422d3d85902a8a4a4fc250e --- .../jenkins_job_builder/config/climate.yaml | 35 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 4 +++ 2 files changed, 39 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/climate.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/climate.yaml b/modules/openstack_project/files/jenkins_job_builder/config/climate.yaml new file mode 100644 index 0000000000..89914dbda0 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/climate.yaml @@ -0,0 +1,35 @@ +- job: + name: gate-climate-devstack-dsvm + node: devstack-precise + + wrappers: + - timeout: + timeout: 60 + fail: true + - timestamps + + builders: + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export ENABLED_SERVICES=climate + export PROJECTS="stackforge/climate $PROJECTS" + export PROJECTS="stackforge/python-climateclient $PROJECTS" + + function pre_test_hook { + # Install climate devstack integration + CLIMATE_BASE=/opt/stack/new/climate/contrib/devstack + DEVSTACK_BASE=/opt/stack/new/devstack + cp $CLIMATE_BASE/lib/* $DEVSTACK_BASE/lib + cp $CLIMATE_BASE/extras.d/* $DEVSTACK_BASE/extras.d + } + export -f pre_test_hook + + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + - link-logs + + publishers: + - devstack-logs + - console-log diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 8e3aa1dbd9..0f23a09c1d 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -325,6 +325,8 @@ jobs: voting: false - name: gate-manila-devstack-dsvm voting: false + - name: gate-climate-devstack-dsvm + voting: false # puppet-openstack targets - name: gate-puppet-vswitch-puppet-lint voting: false @@ -2541,11 +2543,13 @@ projects: - gate-climate-python26 - gate-climate-python27 - gate-climate-requirements + - gate-climate-devstack-dsvm gate: - gate-climate-pep8 - gate-climate-python26 - gate-climate-python27 - gate-climate-requirements + - gate-climate-devstack-dsvm - name: stackforge/climate-nova check: