From b382033d357f0025c76cfe231c4d30cc150cf327 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 10 Dec 2013 16:40:36 -0800 Subject: [PATCH] Publish elastic-recheck documentation. Add jobs to Jenkins and Zuul that test and gate elastic-recheck documentation changes and add a job to publish elastic-recheck docs to docs.o.o/infra/elastic-recheck. Change-Id: I540a9d0adcd355b0108c4586658b2ee2d13b33dd --- .../config/elastic-recheck.yaml | 19 +++++++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 1 + .../openstack_project/files/zuul/layout.yaml | 4 ++++ 3 files changed, 24 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/elastic-recheck.yaml diff --git a/modules/openstack_project/files/jenkins_job_builder/config/elastic-recheck.yaml b/modules/openstack_project/files/jenkins_job_builder/config/elastic-recheck.yaml new file mode 100644 index 0000000000..7fb6616a18 --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/elastic-recheck.yaml @@ -0,0 +1,19 @@ +- job: + name: elastic-recheck-docs + concurrent: false + node: precise + + builders: + - gerrit-git-prep + - docs: + github-org: '{github-org}' + project: '{name}' + + publishers: + - ftp: + site: docs.openstack.org + source: 'doc/build/html/**' + target: 'infra/elastic-recheck/' + remove-prefix: 'doc/build/html' + excludes: '' + - 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 66dce1cc37..2b6e880906 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -336,6 +336,7 @@ jobs: - gate-{name}-pep8 + - gate-{name}-docs - gate-{name}-python27 diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index e380bf956b..aed1241a3f 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -2225,10 +2225,14 @@ projects: - name: openstack-infra/elastic-recheck check: - gate-elastic-recheck-pep8 + - gate-elastic-recheck-docs - gate-elastic-recheck-python27 gate: - gate-elastic-recheck-pep8 + - gate-elastic-recheck-docs - gate-elastic-recheck-python27 + post: + - elastic-recheck-docs - name: openstack-infra/gear template: