Merge "Revoke sudo from most jobs"

This commit is contained in:
Jenkins 2014-03-21 18:43:45 +00:00 committed by Gerrit Code Review
commit 7fb0ac4d17
15 changed files with 46 additions and 0 deletions

View File

@ -3,6 +3,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- chef-bundler-prep - chef-bundler-prep
- chef-berkshelf-prep - chef-berkshelf-prep
@ -16,6 +17,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- chef-bundler-prep - chef-bundler-prep
- chef-cookbook-foodcritic - chef-cookbook-foodcritic
@ -28,6 +30,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- chef-bundler-prep - chef-bundler-prep
- chef-cookbook-rubocop - chef-cookbook-rubocop
@ -40,6 +43,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -6,6 +6,7 @@
builders: builders:
- link-logs - link-logs
- net-info - net-info
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -3,6 +3,7 @@
node: 'bare-precise' node: 'bare-precise'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -27,6 +28,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -3,6 +3,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -3,4 +3,5 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null' - shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null'

View File

@ -8,6 +8,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -44,6 +45,7 @@
name: '{name}-js-release-{branch-designator}' name: '{name}-js-release-{branch-designator}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -12,6 +12,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -39,6 +40,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -66,6 +68,7 @@
node: pypi node: pypi
builders: builders:
- revoke-sudo
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'` TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'`

View File

@ -4,6 +4,7 @@
node: bare-precise node: bare-precise
prebuilders: prebuilders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
properties: properties:
@ -45,6 +46,7 @@
properties-file: gerrit-doc.properties properties-file: gerrit-doc.properties
prebuilders: prebuilders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
maven: maven:
@ -80,6 +82,7 @@
properties-file: gerrit-doc.properties properties-file: gerrit-doc.properties
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack openstack-manuals source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack openstack-manuals
@ -99,6 +102,7 @@
node: bare-precise node: bare-precise
prebuilders: prebuilders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
properties: properties:
@ -134,6 +138,7 @@
node: bare-precise node: bare-precise
prebuilders: prebuilders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
properties: properties:

View File

@ -12,6 +12,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -39,6 +40,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
@ -64,6 +66,7 @@
node: pypi node: pypi
builders: builders:
- revoke-sudo
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'` TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'`

View File

@ -21,6 +21,7 @@
name: 'gate-{name}-run-tests' name: 'gate-{name}-run-tests'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- run-tests: - run-tests:
github-org: '{github-org}' github-org: '{github-org}'
@ -35,6 +36,7 @@
name: 'gate-{name}-bash8' name: 'gate-{name}-bash8'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- bash8: - bash8:
github-org: '{github-org}' github-org: '{github-org}'
@ -49,6 +51,7 @@
name: 'gate-{name}-unittests-{env}' name: 'gate-{name}-unittests-{env}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh {env} {github-org} {name}' - shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh {env} {github-org} {name}'
- assert-no-extra-files - assert-no-extra-files

View File

@ -3,6 +3,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- docs: - docs:
github-org: '{github-org}' github-org: '{github-org}'
@ -22,6 +23,7 @@
name: '{name}-merge-release-tags' name: '{name}-merge-release-tags'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe

View File

@ -3,6 +3,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
export PUPPET_GEM_VERSION='~> {puppet_version}.0' export PUPPET_GEM_VERSION='~> {puppet_version}.0'
@ -19,6 +20,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- puppet-lint - puppet-lint
@ -30,6 +32,7 @@
node: '{node}' node: '{node}'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- puppet-syntax - puppet-syntax

View File

@ -3,6 +3,7 @@
node: pypi node: pypi
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
/usr/local/jenkins/slave_scripts/pypi-upload.sh {name} {tarball-site} /usr/local/jenkins/slave_scripts/pypi-upload.sh {name} {tarball-site}

View File

@ -8,6 +8,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- python26: - python26:
github-org: '{github-org}' github-org: '{github-org}'
project: '{name}' project: '{name}'
@ -36,6 +37,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- python27: - python27:
github-org: '{github-org}' github-org: '{github-org}'
project: '{name}' project: '{name}'
@ -64,6 +66,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- docs: - docs:
github-org: '{github-org}' github-org: '{github-org}'
project: '{name}' project: '{name}'

View File

@ -8,6 +8,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- coverage: - coverage:
github-org: '{github-org}' github-org: '{github-org}'
@ -24,6 +25,7 @@
name: 'gate-{name}-pep8' name: 'gate-{name}-pep8'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- pep8: - pep8:
github-org: '{github-org}' github-org: '{github-org}'
@ -39,6 +41,7 @@
name: 'gate-{name}-pylint' name: 'gate-{name}-pylint'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- pylint: - pylint:
github-org: '{github-org}' github-org: '{github-org}'
@ -60,6 +63,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- python26: - python26:
github-org: '{github-org}' github-org: '{github-org}'
@ -82,6 +86,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- python27: - python27:
github-org: '{github-org}' github-org: '{github-org}'
@ -104,6 +109,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- python33: - python33:
github-org: '{github-org}' github-org: '{github-org}'
@ -126,6 +132,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- pypy: - pypy:
github-org: '{github-org}' github-org: '{github-org}'
@ -142,6 +149,7 @@
name: 'gate-{name}-docs' name: 'gate-{name}-docs'
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- docs: - docs:
github-org: '{github-org}' github-org: '{github-org}'
@ -163,6 +171,7 @@
- timestamps - timestamps
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- tox: - tox:
envlist: '{envlist}' envlist: '{envlist}'
@ -181,6 +190,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- tarball: - tarball:
github-org: '{github-org}' github-org: '{github-org}'
@ -198,6 +208,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- tarball: - tarball:
github-org: '{github-org}' github-org: '{github-org}'
@ -220,6 +231,7 @@
node: bare-precise node: bare-precise
builders: builders:
- revoke-sudo
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe