
This depends on slave script support and should not be approved until I86c77695d8c374c94932664026ab7a541686ae74 has a chance to appear in all current nodepool images. * macros.yaml: Add a branch-git-prep builder which passes a BRANCH environment variable into the gerrit-git-prep.sh slave script. * python-bitrot-jobs.yaml: Pass the {branch} parameter to the branch-git-prep builder to specify the branch on which to run stable bitrot jobs, instead of using the SCM plug-in. * translation-jobs.yaml * zuul.yaml: Pass master as the branch for the branch-git-prep builder instead of using the SCM plug-in. Change-Id: Ied8b4c111172b654cc90938221690651a5b458df
89 lines
1.9 KiB
YAML
89 lines
1.9 KiB
YAML
- job-template:
|
|
name: '{name}-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_update.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-propose-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job:
|
|
name: 'horizon-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_horizon.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-manuals-upstream-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/upstream_translation_update_manuals.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-template:
|
|
name: '{name}-manuals-propose-translation-update'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
node: 'proposal'
|
|
|
|
- job-group:
|
|
name: translation-jobs
|
|
jobs:
|
|
- '{name}-upstream-translation-update'
|
|
- '{name}-propose-translation-update'
|
|
|
|
- job-group:
|
|
name: manual-translation-jobs
|
|
jobs:
|
|
- '{name}-manuals-upstream-translation-update'
|
|
- '{name}-manuals-propose-translation-update'
|