system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
Clark Boylan 2e589d19cb New job template for translation management.
Add a new job template for translation management. Add two jobs for
translation management. The first will will update transifex with the
new .pot and .po files after every merge to a project. The second will
commit the new .pot and .po files and submit for review once a day.

Add puppet manifest for the slave that these jobs will be running on.

Apply the template to nova.

Change-Id: I5242f81bd6ff13d1ed8610ef9e3b39fd3dbd7301
Reviewed-on: https://review.openstack.org/11369
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-09-11 13:37:50 +00:00

48 lines
935 B
YAML

- job-template:
name: '{name}-upstream-translation-update'
concurrent: false
triggers:
- zuul-post
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
publishers:
- console-log-post
node: 'tx'
- job-template:
name: '{name}-propose-translation-update'
concurrent: false
triggers:
- timed: '@daily'
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {name}
publishers:
- console-log-periodic
scm:
- git:
url: 'git://github.com/{github-org}/{name}.git'
branches:
- 'origin/master'
node: 'tx'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'