system-config/modules/openstack_project/files/jenkins_job_builder/config/manuals.yaml
Andreas Jaeger fa5a8d20fb Use templates for Install Guides, Training Guide
Create a new template for the Install Guides and use it.
Use the manual template also for the training guide.

Change-Id: Ic0797aabaaf78f1b8814e17c6f25b5f6abe5eaf8
2013-09-20 19:55:36 +02:00

389 lines
12 KiB
YAML

- job:
name: gate-openstack-manuals-operations-guide
project-type: maven
node: precise
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/openstack-ops/pom.xml
goals: 'clean generate-sources -B'
publishers:
- console-log
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH/ops/'
source: 'doc/openstack-ops/target/docbkx/webhelp/**'
keep-hierarchy: true
copy-after-failure: true
- job:
name: gate-openstack-manuals-validate
node: precise
builders:
- gerrit-git-prep
- shell: "./tools/validate.py"
publishers:
- console-log
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-basic-install-fedora-old
project-type: maven
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/basic-install/pom.xml
goals: '-Doperating.system=yum -Dprofile.os=centos;fedora;rhel -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
target: ''
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-basic-install-ubuntu-old
project-type: maven
node: precise
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/basic-install/pom.xml
goals: '-Doperating.system=apt -Dprofile.os=ubuntu;debian -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
target: ''
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-admin-manual-block-old
project-type: maven
node: precise
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-block-storage-admin/pom.xml
goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/openstack-block-storage-admin/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-block-storage-admin/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-admin-manual-compute-old
project-type: maven
concurrent: false
node: precise
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
maven-name: Maven3
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 -B'
publishers:
- console-log
- 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*'
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-admin-manual-netconn-old
project-type: maven
concurrent: false
node: precise
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
maven-name: Maven3
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 -B'
publishers:
- console-log
- 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*'
# in zuul/layout.yaml specified to only run against master branch.
- job:
name: openstack-docs-site
concurrent: false
node: precise
builders:
- gerrit-git-prep
publishers:
- ftp:
site: docs.openstack.org
source: 'www/**'
target: ''
remove-prefix: 'www/'
excludes: ''
- console-log
# in zuul/layout.yaml specified to only run against master branch.
# The old jenkins config polled git every 5 minutes and was also triggered
# whenever a SNAPSHOT dependency was built. I have not configured that trigger
# here as being in the Zuul post queue may not play nice with that.
#
# We can use the git and snapshot dependency triggers if that is preferable.
- job:
name: openstack-ha-guide
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
- shell: |
asciidoc -b docbook -d book -o - doc/high-availability-guide/ha-guide.txt | xsltproc -o - /usr/share/xml/docbook/stylesheet/docbook5/db4-upgrade.xsl - | xmllint --format - | sed -e 's,<book,<book xml:id="bk-ha-guide",' | sed -e 's,<info,<?rax pdf.url="../openstack-ha-guide-trunk.pdf"?><info,' > doc/high-availability-guide/bk-ha-guide.xml
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/high-availability-guide/pom.xml
goals: 'clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/high-availability-guide/target/docbkx/webhelp/**'
target: ''
remove-prefix: 'doc/high-availability-guide/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-install-deploy-guide-fedora-old
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-install/pom.xml
goals: '-Doperating.system=yum -Dprofile.os=centos;fedora;rhel -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/openstack-install/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: openstack-install-deploy-guide-ubuntu-old
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-install/pom.xml
goals: '-Doperating.system=apt -Dprofile.os=ubuntu -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/openstack-install/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-operations-guide
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/openstack-ops/pom.xml
goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/openstack-ops/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/openstack-ops/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-operations-guide-ja
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
- shell: |
./tools/generatedocbook -l ja -b openstack-ops
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-ops-manual
root-pom: generated/ja/openstack-ops/pom.xml
goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources -B'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'generated/ja/openstack-ops/target/docbkx/webhelp/**'
target: '/ja/'
remove-prefix: 'generated/ja/openstack-ops/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'