From 2073489abb512b97bc4a10158f1807f3f6e6e0e1 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 27 Sep 2012 14:10:02 -0700 Subject: [PATCH] Jenkins Jobify the openstack-qa jobs. Jenkins jobify the openstack-qa jobs, qa-docs and gate-openstack-qa-merge. Change-Id: I21a38d3d30c0707260f33eb4eed30c75b74f66ec Reviewed-on: https://review.openstack.org/13789 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- .../config/openstack-qa.yaml | 23 +++++++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 8 +++++++ .../openstack_project/files/zuul/layout.yaml | 9 ++++++++ 3 files changed, 40 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/openstack-qa.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-qa.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-qa.yaml new file mode 100644 index 0000000000..fb8d6c1901 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-qa.yaml @@ -0,0 +1,23 @@ +# This is a non-standard docs job because it uses SCP instead of FTP. +# It also uses a non standard build script. +- job: + name: openstack-qa-docs + node: precise + + triggers: + - zuul-post + + builders: + - gerrit-git-prep + - shell: | + export HUDSON_PUBLISH_DOCS=1 + python setup.py build_sphinx + + publishers: + - scp: + site: '173.203.107.207' + files: + - target: 'qa' + source: 'build/sphinx/html/**/*' + keep-hierarchy: true + - console-log-post 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 2d438c0fef..519ff06cbb 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -426,3 +426,11 @@ jobs: - python-jobs - gate-{name}-pyflakes + + +- project: + name: openstack-qa + github-org: openstack-dev + 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 0f86fb5c14..5328d6b0ee 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -670,3 +670,12 @@ projects: post: - images-api-v20 + - name: openstack-dev/openstack-qa + check: + - gate-openstack-qa-merge + gate: + - gate-openstack-qa-merge + post: + - openstack-qa-docs + publish: + - openstack-qa-docs