From 6d724cc8953f28a79ad0f27726d9001efd5c6128 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 27 Sep 2012 22:36:07 +0000 Subject: [PATCH] Jenkins Jobify Admin Manuals. Add these jobs to manuals.yaml and to the openstack/openstack-manuals project in zuul's layout.yaml: - gate-openstack-manuals-merge - openstack-admin-manual-compute - openstack-admin-manual-keystone-diablo - openstack-admin-manual-netconn - openstack-admin-manual-object - openstack-admin-manuals-diablo Also added an openstack-manuals project to projects.yaml. Change-Id: Ib16281afd7ffc46317685a890ef537c32d205d52 Reviewed-on: https://review.openstack.org/13801 Reviewed-by: Monty Taylor Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- .../jenkins_job_builder/config/manuals.yaml | 150 ++++++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 9 ++ .../openstack_project/files/zuul/layout.yaml | 9 ++ 3 files changed, 168 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/manuals.yaml b/modules/openstack_project/files/jenkins_job_builder/config/manuals.yaml index f5f7d4ba28..6731d297e9 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/manuals.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/manuals.yaml @@ -191,3 +191,153 @@ target: 'glossary' remove-prefix: 'doc/src/docbkx/common/glossary/target/docbkx/webhelp/openstack-glossary/' excludes: '**/*.xml,**/null*' + +- job: + name: openstack-admin-manual-compute + project-type: maven + concurrent: false + node: precise + + triggers: + - zuul-post + + prebuilders: + - gerrit-git-prep + + properties: + - inject: + script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh + properties-file: gerrit-doc.properties + + maven: + root-module: + group-id: org.openstack.docs + artifact-id: openstack-guide + root-pom: doc/src/docbkx/openstack-compute-admin/pom.xml + goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources' + + publishers: + - console-log-post + - ftp: + site: docs.openstack.org + source: 'doc/src/docbkx/openstack-compute-admin/target/docbkx/webhelp/**' + target: '/' + remove-prefix: 'doc/src/docbkx/openstack-compute-admin/target/docbkx/webhelp/' + excludes: '**/*.xml,**/null*' + +- job: + name: openstack-admin-manual-keystone-diablo + project-type: maven + concurrent: false + node: precise + + triggers: + - zuul-post + + maven: + root-module: + group-id: org.openstack.docs + artifact-id: openstack-guide + root-pom: doc/src/docbkx/openstack-identity-service-starter/pom.xml + goals: 'clean generate-sources' + + publishers: + - console-log-post + - ftp: + site: docs.openstack.org + source: 'doc/src/docbkx/openstack-identity-service-starter/target/docbkx/webhelp/trunk/**' + target: 'diablo' + remove-prefix: 'doc/src/docbkx/openstack-identity-service-starter/target/docbkx/webhelp/trunk/' + excludes: '**/*.xml,**/null*' + +- job: + name: openstack-admin-manual-netconn + project-type: maven + concurrent: false + node: precise + + triggers: + - zuul-post + + prebuilders: + - gerrit-git-prep + + properties: + - inject: + script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh + properties-file: gerrit-doc.properties + + maven: + root-module: + group-id: org.openstack.docs + artifact-id: openstack-guide + root-pom: doc/src/docbkx/openstack-network-connectivity-admin/pom.xml + goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources' + + publishers: + - console-log-post + - ftp: + site: docs.openstack.org + source: 'doc/src/docbkx/openstack-network-connectivity-admin/target/docbkx/webhelp/**' + target: '/' + remove-prefix: 'doc/src/docbkx/openstack-network-connectivity-admin/target/docbkx/webhelp/' + excludes: '**/*.xml,**/null*' + +- job: + name: openstack-admin-manual-object + project-type: maven + concurrent: false + node: precise + + triggers: + - zuul-post + + prebuilders: + - gerrit-git-prep + + properties: + - inject: + script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh + properties-file: gerrit-doc.properties + + maven: + root-module: + group-id: org.openstack.docs + artifact-id: openstack-guide + root-pom: doc/src/docbkx/openstack-object-storage-admin/pom.xml + goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources' + + publishers: + - console-log-post + - ftp: + site: docs.openstack.org + source: 'doc/src/docbkx/openstack-object-storage-admin/target/docbkx/webhelp/**' + target: '/' + remove-prefix: 'doc/src/docbkx/openstack-object-storage-admin/target/docbkx/webhelp/' + excludes: '**/*.xml,**/null*' + +- job: + name: openstack-admin-manuals-diablo + project-type: maven + concurrent: false + node: precise + + triggers: + - zuul-post + + maven: + root-module: + group-id: org.openstack.docs + artifact-id: openstack-guide + root-pom: doc/pom.xml + goals: 'clean generate-sources' + + publishers: + - console-log-post + - ftp: + site: docs.openstack.org + source: 'doc/target/docbkx/webhelp/trunk/**' + target: 'diablo' + remove-prefix: 'doc/target/docbkx/webhelp/trunk/' + excludes: '**/*.xml,**/null*' + 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 e79719c331..dda2a7ed43 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -539,6 +539,15 @@ - gate-{name}-merge +- project: + name: openstack-manuals + github-org: openstack + node: precise + + jobs: + - gate-{name}-merge + + - project: name: zuul github-org: openstack-ci diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 08c0bb2644..931b26cbc5 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -646,7 +646,16 @@ projects: - gate-reddwarf-python27 - name: openstack/openstack-manuals + check: + - gate-openstack-manuals-merge + gate: + - gate-openstack-manuals-merge post: + - openstack-admin-manual-compute + - openstack-admin-manual-keystone-diablo + - openstack-admin-manual-netconn + - openstack-admin-manual-object + - openstack-admin-manuals-diablo - openstack-cli-guide - openstack-glossary