project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger a8317f4356 Setup translations for stable/mitaka
Setup translations for all projects that are part of the translation
plan of the i18n team (see https://translate.openstack.org/) and which
will have stable/mitaka branches.

Note that manual projects are not ready for stable/mitaka, so those are
not included.

Change-Id: Ieedd94bc7b5214b2b036971c62406ca52f282082
2016-03-16 20:20:11 +01:00

71 lines
1.6 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
builders:
- print-template-name:
template-name: "{template-name}"
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
publishers:
- console-log
- proposal-slave-cleanup
node: 'proposal'
- job-template:
name: '{name}-propose-translation-update{suffix}'
builders:
- print-template-name:
template-name: "{template-name}"
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name} {branch}
publishers:
- console-log
- proposal-slave-cleanup
node: 'proposal'
- job-group:
name: translation-jobs
suffix: ''
branch: master
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update{suffix}'
- job-group:
name: translation-jobs-liberty
suffix: '-liberty'
branch: stable/liberty
jobs:
- '{name}-propose-translation-update{suffix}'
- job-group:
name: translation-jobs-mitaka
suffix: '-mitaka'
branch: stable/mitaka
jobs:
- '{name}-propose-translation-update{suffix}'
- job-group:
name: manual-translation-jobs
suffix: ''
branch: master
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update{suffix}'
- 'gate-{name}-tox-{envlist}':
envlist: checklang
- '{name}-tox-doc-{envlist}':
envlist: publishlang