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
This commit is contained in:
parent
5f8cb1d14c
commit
38e80143dd
@ -21,23 +21,6 @@
|
|||||||
|
|
||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'api-site-tox-buildlang-{lang}'
|
|
||||||
|
|
||||||
node: 'bare-precise || bare-trusty'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack api-site
|
|
||||||
tox -v -e buildlang -- {lang}
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
- upload-to-docs-site
|
|
||||||
- upload-doc-build-results
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-api-ref
|
name: openstack-api-ref
|
||||||
node: 'bare-precise || bare-trusty'
|
node: 'bare-precise || bare-trusty'
|
||||||
|
@ -1,67 +1,3 @@
|
|||||||
- job-template:
|
|
||||||
name: 'openstack-install-deploy-guide-{lang}'
|
|
||||||
|
|
||||||
node: 'bare-precise || bare-trusty'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack openstack-manuals
|
|
||||||
tox -v -e buildlang-install -- {lang}
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
- upload-to-docs-site
|
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'openstack-misc-guides-{lang}'
|
|
||||||
|
|
||||||
node: 'bare-precise || bare-trusty'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack openstack-manuals
|
|
||||||
tox -v -e buildlang-misc -- {lang}
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
- upload-to-docs-site
|
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'openstack-operations-guide-{lang}'
|
|
||||||
node: '{node}'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
#!/bin/bash -xe
|
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack operations-guide
|
|
||||||
tox -v -e buildlang -- {lang}
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
- upload-to-docs-site
|
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: 'security-doc-{lang}'
|
|
||||||
node: '{node}'
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
#!/bin/bash -xe
|
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack security-doc
|
|
||||||
tox -v -e buildlang -- {lang}
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
- upload-to-docs-site
|
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
||||||
|
|
||||||
@ -97,3 +33,5 @@
|
|||||||
envlist: checkdeletions
|
envlist: checkdeletions
|
||||||
- gate-{name}-tox-doc-publish-{envlist}:
|
- gate-{name}-tox-doc-publish-{envlist}:
|
||||||
envlist: checkbuild
|
envlist: checkbuild
|
||||||
|
- '{name}-tox-doc-{envlist}':
|
||||||
|
envlist: publishdocs
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: fuel-specs
|
name: fuel-specs
|
||||||
@ -393,8 +391,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -706,8 +702,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -729,8 +723,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -787,8 +779,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -856,8 +846,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -1202,8 +1190,6 @@
|
|||||||
datastore: 'mysql'
|
datastore: 'mysql'
|
||||||
- 'gate-trove-buildimage-{datastore}':
|
- 'gate-trove-buildimage-{datastore}':
|
||||||
datastore: 'mongodb'
|
datastore: 'mongodb'
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: python-troveclient
|
name: python-troveclient
|
||||||
@ -2441,20 +2427,10 @@
|
|||||||
- network-connectivity-admin
|
- network-connectivity-admin
|
||||||
- object-storage-admin
|
- object-storage-admin
|
||||||
|
|
||||||
lang:
|
|
||||||
- ja
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- manual-translation-jobs
|
- manual-translation-jobs
|
||||||
|
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
- openstack-install-deploy-guide-{lang}
|
|
||||||
|
|
||||||
- openstack-misc-guides-{lang}
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: docs-specs
|
name: docs-specs
|
||||||
github-org: openstack
|
github-org: openstack
|
||||||
@ -2473,10 +2449,15 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- manual-translation-jobs
|
- manual-translation-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
- project:
|
||||||
- openstack-operations-guide-{lang}:
|
name: security-doc
|
||||||
lang: ja
|
github-org: openstack
|
||||||
|
node: 'bare-precise || bare-trusty'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- openstack-doc-jobs
|
||||||
|
- manual-translation-jobs
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: manila
|
name: manila
|
||||||
@ -2692,18 +2673,9 @@
|
|||||||
github-org: openstack
|
github-org: openstack
|
||||||
node: 'bare-precise || bare-trusty'
|
node: 'bare-precise || bare-trusty'
|
||||||
|
|
||||||
lang:
|
|
||||||
- de
|
|
||||||
- es
|
|
||||||
- fr
|
|
||||||
- ja
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- manual-translation-jobs
|
- manual-translation-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
- 'api-site-tox-buildlang-{lang}'
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: driverlog
|
name: driverlog
|
||||||
@ -2721,8 +2693,6 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-doc-jobs
|
- openstack-doc-jobs
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: python-openstacksdk
|
name: python-openstacksdk
|
||||||
@ -2875,17 +2845,3 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- gate-{name}-python27
|
- gate-{name}-python27
|
||||||
- gate-{name}-docs
|
- gate-{name}-docs
|
||||||
|
|
||||||
- project:
|
|
||||||
name: security-doc
|
|
||||||
github-org: openstack
|
|
||||||
node: 'bare-precise || bare-trusty'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- openstack-doc-jobs
|
|
||||||
- '{name}-tox-doc-{envlist}':
|
|
||||||
envlist: publishdocs
|
|
||||||
- manual-translation-jobs
|
|
||||||
- security-doc-{lang}:
|
|
||||||
lang: ja
|
|
||||||
|
|
||||||
|
@ -104,3 +104,5 @@
|
|||||||
- '{name}-manuals-propose-translation-update'
|
- '{name}-manuals-propose-translation-update'
|
||||||
- 'gate-{name}-tox-{envlist}':
|
- 'gate-{name}-tox-{envlist}':
|
||||||
envlist: checklang
|
envlist: checklang
|
||||||
|
- '{name}-tox-doc-{envlist}':
|
||||||
|
envlist: publishlang
|
||||||
|
@ -336,6 +336,7 @@ project-templates:
|
|||||||
- 'gate-{name}-tox-checklang'
|
- 'gate-{name}-tox-checklang'
|
||||||
post:
|
post:
|
||||||
- '{name}-manuals-upstream-translation-update'
|
- '{name}-manuals-upstream-translation-update'
|
||||||
|
- '{name}-tox-doc-publishlang'
|
||||||
periodic:
|
periodic:
|
||||||
- '{name}-manuals-propose-translation-update'
|
- '{name}-manuals-propose-translation-update'
|
||||||
|
|
||||||
@ -524,9 +525,7 @@ jobs:
|
|||||||
# Continous publishing from master of the following documentation targets:
|
# Continous publishing from master of the following documentation targets:
|
||||||
- name: ^.*manuals-upstream-translation-update$
|
- name: ^.*manuals-upstream-translation-update$
|
||||||
branch: master
|
branch: master
|
||||||
- name: openstack-install-deploy-guide-ja
|
- name: ^.*-tox-doc-publishlang$
|
||||||
branch: master
|
|
||||||
- name: openstack-misc-guides-ja
|
|
||||||
branch: master
|
branch: master
|
||||||
- name: gate-openstack-manuals-tox-checkniceness
|
- name: gate-openstack-manuals-tox-checkniceness
|
||||||
voting: false
|
voting: false
|
||||||
@ -2367,10 +2366,6 @@ projects:
|
|||||||
- api-site-tox-doc-publishdocs
|
- api-site-tox-doc-publishdocs
|
||||||
- openstack-api-site
|
- openstack-api-site
|
||||||
- openstack-api-ref
|
- openstack-api-ref
|
||||||
- api-site-tox-buildlang-de
|
|
||||||
- api-site-tox-buildlang-es
|
|
||||||
- api-site-tox-buildlang-fr
|
|
||||||
- api-site-tox-buildlang-ja
|
|
||||||
|
|
||||||
- name: openstack/docs-specs
|
- name: openstack/docs-specs
|
||||||
check:
|
check:
|
||||||
@ -2386,8 +2381,6 @@ projects:
|
|||||||
- name: openstack-doc-translation
|
- name: openstack-doc-translation
|
||||||
post:
|
post:
|
||||||
- openstack-manuals-tox-doc-publishdocs
|
- openstack-manuals-tox-doc-publishdocs
|
||||||
- openstack-install-deploy-guide-ja
|
|
||||||
- openstack-misc-guides-ja
|
|
||||||
|
|
||||||
- name: openstack/operations-guide
|
- name: openstack/operations-guide
|
||||||
template:
|
template:
|
||||||
@ -2395,7 +2388,6 @@ projects:
|
|||||||
- name: openstack-doc-translation
|
- name: openstack-doc-translation
|
||||||
post:
|
post:
|
||||||
- operations-guide-tox-doc-publishdocs
|
- operations-guide-tox-doc-publishdocs
|
||||||
- openstack-operations-guide-ja
|
|
||||||
|
|
||||||
- name: openstack/openstack-security-notes
|
- name: openstack/openstack-security-notes
|
||||||
check:
|
check:
|
||||||
@ -2409,7 +2401,6 @@ projects:
|
|||||||
- name: openstack-doc-translation
|
- name: openstack-doc-translation
|
||||||
post:
|
post:
|
||||||
- security-doc-tox-doc-publishdocs
|
- security-doc-tox-doc-publishdocs
|
||||||
- security-doc-ja
|
|
||||||
|
|
||||||
# Section: OpenStack development projects
|
# Section: OpenStack development projects
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user