From 4d0e84deab20a566f77eb8977f3f37139bda8063 Mon Sep 17 00:00:00 2001 From: Chad Lung Date: Tue, 18 Feb 2014 17:03:50 -0600 Subject: [PATCH] Add DevStack job for Barbican Change-Id: I13ec02fb7fbeee85028dcd067c77b2e9a4d6ae3e --- .../jenkins_job_builder/config/barbican.yaml | 39 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 3 ++ 2 files changed, 42 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/barbican.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/barbican.yaml b/modules/openstack_project/files/jenkins_job_builder/config/barbican.yaml new file mode 100644 index 0000000000..8d38a87916 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/barbican.yaml @@ -0,0 +1,39 @@ +- job: + name: gate-barbican-devstack-dsvm + node: devstack-precise + + wrappers: + - timeout: + timeout: 65 + fail: true + - timestamps + + builders: + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=60 + export ENABLED_SERVICES=barbican,tempest,keystone + export PROJECTS="stackforge/barbican $PROJECTS" + export PROJECTS="stackforge/python-barbicanclient $PROJECTS" + + function pre_test_hook { + cd /opt/stack/new/barbican/functionaltests + ./pre_test_hook.sh + } + export -f pre_test_hook + + function post_test_hook { + cd /opt/stack/new/barbican/functionaltests + ./post_test_hook.sh + } + 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 + - 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 32ad3b84b5..22624283ac 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -565,6 +565,8 @@ jobs: voting: false - name: gate-rubick-python33 voting: false + - name: gate-barbican-devstack-dsvm + voting: false - name: gate-manila-tempest-dsvm-neutron voting: false - name: gate-climate-devstack-dsvm @@ -3138,6 +3140,7 @@ projects: check: - gate-barbican-pep8 - gate-barbican-python27 + - gate-barbican-devstack-dsvm gate: - gate-barbican-pep8 - gate-barbican-python27