project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger aecc6b1d92 Remove liberty translation sync
Translations for liberty are done, remove them from the only project
that still had it - openstack-manuals.

Change-Id: Ieedbd00a06616cf7105567ab93ce505a445bc9d9
2016-07-20 08:22:30 +02:00

84 lines
2.2 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
builders:
- print-template-name:
template-name: "{template-name}"
- proposal-slave-cleanup
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name} {template-name}
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'translation-source/**/*.pot'
target: 'tarballs/'
keep-hierarchy: true
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'testrepository.subunit.gz'
keep-hierarchy: false
copy-after-failure: true
- console-log
node: 'proposal'
- job-template:
name: '{name}-propose-translation-update{suffix}'
builders:
- print-template-name:
template-name: "{template-name}"
- proposal-slave-cleanup
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name} {branch} {template-name}
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'testrepository.subunit.gz'
keep-hierarchy: false
copy-after-failure: true
- console-log
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-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