Andreas Jaeger c230fb871b Remove maven from operations-guide and openstack-manuals
Use tox based publishing instead of maven.
The operations-guide jobs now named operations-guide-tox-doc-publishdocs.

For openstack-manuals use openstack-manuals-tox-doc-publishdocs as
single publishing job instead of the many jobs that build a single book
each.

Removes job openstack-docs-site as well, the openstack-doc-tools script
together with this change handles this as well.

Needs change to template '{name}-tox-doc-{envlist}' for injecting
of properties-file.

Also, update 'openstack-operations-guide-{lang}' and
'openstack-install-deploy-guide-{lang}' to use
upload-to-docs-site publisher instead of hand-written one.

Change-Id: Iea3005d2d092342318bd7be475af4ed78a9c1390
2014-04-15 22:48:43 +02:00

91 lines
1.9 KiB
YAML

- job-template:
name: '{name}-tox-doc-{envlist}'
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
- upload-to-docs-site
- upload-doc-build-results
node: '{node}'
- job:
name: openstack-api-ref
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishdocs-api'
github-org: 'openstack'
project: 'api-site'
publishers:
- console-log
- upload-doc-build-results
- ftp:
site: api.openstack.org
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www
- job:
name: openstack-api-site
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
publishers:
- ftp:
site: api.openstack.org
source: 'www/**'
target: ''
remove-prefix: 'www/'
excludes: ''
- console-log
- job:
name: compute-api-v2.0-wadl
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
publishers:
- ftp:
site: docs.openstack.org
source: 'target/**'
target: 'api/openstack-compute/2/wadl/'
remove-prefix: 'target/'
excludes: '**/*.xml,**/null*'
- console-log