project-config/jenkins/jobs/translation-jobs.yaml
Andreas Jaeger 1204b51199 Move doc team jobs to Xenial
Run all jobs on xenial for the documentation team jobs, for most cases
these are only run on master anyhow - and those few repos with branches
do not need trusty for running.

Change-Id: I337888e74bae983439cbf0f5e047f4f4023bc8ec
2016-07-29 14:56:10 +02:00

85 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}-{node}':
envlist: checklang
node: ubuntu-xenial
- '{name}-tox-doc-{envlist}':
envlist: publishlang