
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
109 lines
2.3 KiB
YAML
109 lines
2.3 KiB
YAML
- job-template:
|
|
name: '{name}-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-propose-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job:
|
|
name: 'horizon-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_horizon.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job:
|
|
name: 'horizon-propose-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/propose_translation_update_horizon.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-manuals-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_update_manuals.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-manuals-propose-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-group:
|
|
name: translation-jobs
|
|
jobs:
|
|
- '{name}-upstream-translation-update'
|
|
- '{name}-propose-translation-update'
|
|
|
|
- job-group:
|
|
name: manual-translation-jobs
|
|
jobs:
|
|
- '{name}-manuals-upstream-translation-update'
|
|
- '{name}-manuals-propose-translation-update'
|
|
- 'gate-{name}-tox-{envlist}':
|
|
envlist: checklang
|
|
- '{name}-tox-doc-{envlist}':
|
|
envlist: publishlang
|