
This patch simplifies the setup and takes benefit of a new tox environment called "publishlang" in the repositories that publishes all translated manuals. This avoids having to change several places to add a single manual for a new language. 1) Move - '{name}-tox-doc-{envlist}': envlist: publishdocs to openstack-doc-jobs job-group and remove it from the individual jobs. 2) Create new job '{name}-tox-doc-publishlang' and add it to manual-translation-jobs. 3) Remove all buildlang jobs and replace them in Zuul with publishlang jobs using openstack-doc-translation template. The publishlang job handles all languages while the buildlang jobs were needed for each and every language. The buildlang jobs were openstack-install-deploy-guide-{lang}, openstack-misc-guides-{lang}, openstack-operations-guide-{lang}, api-site-tox-buildlang-{lang}. 4) Move security-doc in projects.yaml after operations-guide to have manual jobs together. Change-Id: I8932817cf6eebc2df636b119b0d723e9335b8ffe
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
- job-template:
|
|
name: '{name}-tox-doc-{envlist}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- 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 || bare-trusty'
|
|
|
|
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: developer.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 || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log
|