815e960867
Before it was just putting files into /local, this will publish things to the correct location. Change-Id: I0b08dc97294c55a2c83f754d94528429e6090f92 Reviewed-on: https://review.openstack.org/26123 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: John Griffith <john.griffith@solidfire.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
508 lines
14 KiB
YAML
508 lines
14 KiB
YAML
- job:
|
|
name: gate-openstack-cli-guide
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/cli-guide/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'docs-draft/$JOB_NAME/$ZUUL_PIPELINE/$BUILD_NUMBER/cli/quick-start'
|
|
source: 'doc/src/docbkx/cli-guide/target/docbkx/webhelp/cli-guide/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
|
|
- job:
|
|
name: gate-openstack-operations-guide
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
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-ops/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'docs-draft/$JOB_NAME/$ZUUL_PIPELINE/$BUILD_NUMBER/ops/'
|
|
source: 'doc/src/docbkx/openstack-ops/target/docbkx/webhelp/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
|
|
- job:
|
|
name: gate-openstack-manuals-validate
|
|
node: quantal
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: "./tools/validate.py"
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: openstack-cli-guide
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/cli-guide/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/src/docbkx/cli-guide/target/docbkx/webhelp/cli-guide/**'
|
|
target: 'cli/quick-start'
|
|
remove-prefix: 'doc/src/docbkx/cli-guide/target/docbkx/webhelp/cli-guide/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstack-basic-install
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
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: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- 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
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
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:
|
|
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: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- 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*'
|
|
|
|
- job:
|
|
name: openstack-glossary
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/common/glossary/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/src/docbkx/common/glossary/target/docbkx/webhelp/openstack-glossary/**'
|
|
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: quantal && !jclouds
|
|
|
|
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:
|
|
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'
|
|
|
|
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: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
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: quantal && !jclouds
|
|
|
|
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:
|
|
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'
|
|
|
|
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: quantal && !jclouds
|
|
|
|
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:
|
|
maven-name: Maven3
|
|
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: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
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*'
|
|
|
|
# in zuul/layout.yaml specified to only run against master branch.
|
|
- job:
|
|
name: openstack-docs-site
|
|
concurrent: false
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log-post
|
|
|
|
# in zuul/layout.yaml specified to only run against master branch.
|
|
# The old jenkins config polled github 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 github and snapshot dependency triggers if that is preferable.
|
|
- job:
|
|
name: openstack-ha-guide
|
|
project-type: maven
|
|
concurrent: false
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
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/src/docbkx/openstack-ha/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/src/docbkx/openstack-ha/bk-ha-guide.xml
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/openstack-ha/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/src/docbkx/openstack-ha/target/docbkx/webhelp/trunk/**'
|
|
target: 'trunk'
|
|
remove-prefix: 'doc/src/docbkx/openstack-ha/target/docbkx/webhelp/trunk/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstack-install-deploy-guide-apt-fedora
|
|
project-type: maven
|
|
concurrent: false
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
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'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- 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-install-deploy-guide-ubuntu
|
|
project-type: maven
|
|
concurrent: false
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
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'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- 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: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
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-ops/pom.xml
|
|
goals: '-Doperating.system=apt -Dprofile.os=ubuntu -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-ops/target/docbkx/webhelp/**'
|
|
target: '/'
|
|
remove-prefix: 'doc/src/docbkx/openstack-ops/target/docbkx/webhelp/'
|
|
excludes: '**/*.xml,**/null*'
|