James E. Blair 17bbf537fd Revoke sudo from almost all jobs
Everything except jobs that are designed to run on devstack-precise
or tripleo-precise.  Even the jobs on the static slaves, just to be
more consistent and future-proof (even though it's not strictly
necessary).

Change-Id: I220e4f8346b5db1394536b334bcb7c3a7dd4dedb
2014-03-21 12:00:06 -07:00

97 lines
2.0 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
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
publishers:
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/master'
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
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}
publishers:
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/master'
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'