system-config/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml
James E. Blair 705c1d5948 Trigger periodic jobs with Zuul
This takes care of all the current jobs started by a timer in
Jenkins except the devstack-gate maintenance jobs.  For the time
being, there will continue to be a set of those jobs for each
Jenkins master (as opposed to other periodic jobs which we want
to run only once globally).  In the future we can evolve devstack-
gate to run as a single daemon and remove those jobs.

Change-Id: I1215b7cb51ffcd65b69d1b54e9f8d051a406a57a
2013-08-02 10:31:03 -07:00

77 lines
1.5 KiB
YAML

- job-template:
name: '{name}-upstream-translation-update'
concurrent: false
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
publishers:
- console-log
node: 'tx'
- job-template:
name: '{name}-propose-translation-update'
concurrent: false
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:
name: manuals-upstream-translation-update
concurrent: false
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/upstream_translation_update_manuals.sh
publishers:
- console-log
node: 'tx'
- job:
name: manuals-propose-translation-update
concurrent: false
builders:
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh
publishers:
- console-log-periodic
scm:
- git:
url: 'git://github.com/openstack/openstack-manuals.git'
branches:
- 'origin/master'
node: 'tx'
- job-group:
name: translation-jobs
jobs:
- '{name}-upstream-translation-update'
- '{name}-propose-translation-update'