James E. Blair 09d120485a Revoke sudo from most jobs
Revoke sudo from all jobs that do or could run on bare-precise nodes.
Do not revoke it from devstack-precise or special nodes.

Change-Id: Icaf0bb5d15b76f985d0d8c0ec4afa6a34568570a
2014-03-19 11:31:11 -07:00

106 lines
2.0 KiB
YAML

- job-template:
name: 'periodic-{name}-python26{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- revoke-sudo
- python26:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: bare-centos6
- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- revoke-sudo
- python27:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: '{node}'
- job-template:
name: 'periodic-{name}-docs{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- revoke-sudo
- docs:
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: '{node}'
- job-group:
name: python-grizzly-bitrot-jobs
branch: 'stable/grizzly'
branch-name: '-grizzly'
node: bare-precise
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-havana-bitrot-jobs
branch: 'stable/havana'
branch-name: '-havana'
node: bare-precise
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'