system-config/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml
Andreas Jaeger 38e80143dd Cleanup manual jobs
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
2014-07-03 08:53:15 +02:00

38 lines
859 B
YAML

- job-template:
name: 'gate-{name}-tox-doc-publish-{envlist}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- console-log
- upload-docs-draft
- upload-doc-build-results
node: '{node}'
- job-group:
name: openstack-doc-jobs
jobs:
- gate-{name}-tox-{envlist}:
envlist: checkniceness
- gate-{name}-tox-{envlist}:
envlist: checksyntax
- gate-{name}-tox-{envlist}:
envlist: checkdeletions
- gate-{name}-tox-doc-publish-{envlist}:
envlist: checkbuild
- '{name}-tox-doc-{envlist}':
envlist: publishdocs