From f603369af0b981cb0244f9d1149d891e5f7fa52c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 27 Sep 2012 15:22:08 -0700 Subject: [PATCH] Jenkins jobify the openstack-planet jobs. Convert the two openstack-planet jobs, gate-openstack-planet-merge and gate-openstack-planet-unittest, to jobs managed by the Jenkins Job Builder. Change-Id: I77112329ef553e060e50e774c40cad8cc6f59136 Reviewed-on: https://review.openstack.org/13799 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- .../config/openstack-planet.yaml | 15 +++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 10 ++++++++++ modules/openstack_project/files/zuul/layout.yaml | 8 ++++++++ 3 files changed, 33 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/openstack-planet.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-planet.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-planet.yaml new file mode 100644 index 0000000000..3fe7a5599f --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-planet.yaml @@ -0,0 +1,15 @@ +# Not using the template because openstack-planet does not use tox. +- job: + name: 'gate-openstack-planet-unittest' + node: 'precise' + + triggers: + - zuul + + builders: + - gerrit-git-prep + - shell: | + python test.py + + publishers: + - console-log diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index 34f2a6c191..2f56137447 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -315,6 +315,16 @@ name: openstack-qa github-org: openstack-dev node: precise + + jobs: + - gate-{name}-merge + + +- project: + name: openstack-planet + github-org: openstack + node: precise + jobs: - gate-{name}-merge diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index ffffcba54d..9f005e5563 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -721,3 +721,11 @@ projects: gate: - gate-git-review-merge: - gate-git-review-pep8 + + - name: openstack/openstack-planet + check: + - gate-openstack-planet-merge: + - gate-openstack-planet-unittest + gate: + - gate-openstack-planet-merge: + - gate-openstack-planet-unittest