From 3ae37936f35f284fdb6ac0b33fa56bf228e8a662 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 7 Jun 2013 16:48:01 -0400 Subject: [PATCH] Add job to test project installation. pbr touchs a lot of things, which means we need to test its behavior in several combinations of environment with each of the projects. Change-Id: I7b9a4299d1d42a7e4bd3c7e1895a02d2493f158a Reviewed-on: https://review.openstack.org/32223 Reviewed-by: James E. Blair Reviewed-by: Clark Boylan Approved: Clark Boylan Tested-by: Jenkins --- .../files/jenkins_job_builder/config/pbr.yaml | 36 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml b/modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml new file mode 100644 index 0000000000..c9bc21e89a --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml @@ -0,0 +1,36 @@ +- job: + name: gate-pbr-devstack-vm-rawinstall + node: devstack-precise + + wrappers: + - timeout: + timeout: 120 + fail: true + - timestamps + + parameters: + - label: + name: NODE_LABEL + description: Label of node to use for this build + default: devstack-precise + + triggers: + - zuul + + builders: + - devstack-inprogress + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TEMPEST=0 + function gate_hook { + bash -xe $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE + } + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + - link-logs + + publishers: + - console-log + - devstack-complete diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 84fe34eba0..5596a48566 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -914,6 +914,7 @@ projects: - gate-pbr-docs - gate-pbr-python26 - gate-pbr-python27 + - gate-pbr-devstack-vm-rawinstall - gate-tempest-devstack-vm-smoke - gate-tempest-devstack-vm-full - gate-tempest-devstack-vm-cinder @@ -925,6 +926,7 @@ projects: - gate-pbr-pep8 - gate-pbr-python26 - gate-pbr-python27 + - gate-pbr-devstack-vm-rawinstall - gate-tempest-devstack-vm-smoke - gate-tempest-devstack-vm-full - gate-tempest-devstack-vm-cinder