From 3d58d4835ecee417090ee70769b46d2706d20719 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Fri, 31 May 2013 19:55:46 -0700 Subject: [PATCH] Add hacking integration test support Change-Id: If8d171c7666d8ed78dc05ffbde8f596e1a2f74fb Reviewed-on: https://review.openstack.org/31358 Reviewed-by: James E. Blair Reviewed-by: Clark Boylan Approved: Clark Boylan Tested-by: Jenkins --- .../jenkins_job_builder/config/hacking.yaml | 16 ++++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 3 +++ modules/openstack_project/files/zuul/layout.yaml | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml b/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml new file mode 100644 index 0000000000..92096e6a06 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml @@ -0,0 +1,16 @@ +- job-template: + name: gate-hacking-integration-{target-project} + node: precise + + triggers: + - zuul + + builders: + - gerrit-git-prep + - shell: | + #!/bin/bash -xe + /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-dev hacking + tox -e integration {target-org} {target-project} + + 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 80dafd53f1..ff87dbf90f 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -157,6 +157,9 @@ jobs: - python-jobs - pypi-jobs + - gate-hacking-integration-{target-project}: + target-org: openstack + target-project: nova - project: diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 4951039bd8..d48ed4aad6 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -120,6 +120,8 @@ jobs: - '^.*requirements.txt$' - name: manuals-upstream-translation-update branch: ^master$ + - name: gate-hacking-integration-nova + voting: false projects: @@ -872,11 +874,13 @@ projects: - gate-hacking-docs - gate-hacking-python26 - gate-hacking-python27 + - gate-hacking-integration-nova gate: - gate-hacking-docs - gate-hacking-pep8 - gate-hacking-python26 - gate-hacking-python27 + - gate-hacking-integration-nova post: - hacking-branch-tarball - hacking-coverage