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
This commit is contained in:
James E. Blair 2014-03-21 12:00:06 -07:00
parent 7fb0ac4d17
commit 17bbf537fd
18 changed files with 45 additions and 1 deletions

View File

@ -8,6 +8,7 @@
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
@ -27,6 +28,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishdocs-api'
@ -50,6 +52,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
publishers:
@ -67,6 +70,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl

View File

@ -3,6 +3,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
github-org: '{github-org}'

View File

@ -10,6 +10,7 @@
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
@ -43,6 +44,7 @@
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
@ -71,6 +73,7 @@
- timestamps
prebuilders:
- revoke-sudo
- gerrit-git-prep
- gerrit-preclean
@ -102,6 +105,7 @@
- timestamps
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
mkdir -p gerrit
@ -141,6 +145,7 @@
- timestamps
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
mkdir -p gerrit
@ -176,6 +181,7 @@
- timestamps
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
mkdir -p gerrit

View File

@ -4,9 +4,9 @@
node: '{node}'
builders:
- revoke-sudo
- link-logs
- net-info
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe

View File

@ -3,6 +3,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- selenium:
github-org: openstack
@ -22,6 +23,7 @@
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh 27dj14 openstack horizon'
- assert-no-extra-files

View File

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

View File

@ -16,6 +16,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'irc'

View File

@ -4,6 +4,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
github-org: openstack-infra
@ -23,6 +24,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-infra jenkins-job-builder

View File

@ -181,6 +181,7 @@
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'

View File

@ -4,6 +4,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: "./tools/validate.py"
@ -16,6 +17,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
publishers:
@ -44,6 +46,7 @@
properties-file: gerrit-doc.properties
prebuilders:
- revoke-sudo
- gerrit-git-prep
- shell: |
asciidoc -b docbook -d book -o - doc/high-availability-guide/ha-guide.txt | xsltproc -o - /usr/share/xml/docbook/stylesheet/docbook5/db4-upgrade.xsl - | xmllint --format - | sed -e 's,<book,<book xml:id="bk-ha-guide",' | sed -e 's,<info,<?rax pdf.url="../openstack-ha-guide-trunk.pdf"?><info,' > doc/high-availability-guide/bk-ha-guide.xml
@ -81,6 +84,7 @@
properties-file: gerrit-doc.properties
prebuilders:
- revoke-sudo
- gerrit-git-prep
maven:
@ -116,6 +120,7 @@
properties-file: gerrit-doc.properties
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror
@ -28,6 +29,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror
@ -47,6 +49,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror
@ -66,6 +69,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror
@ -85,6 +89,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror
@ -104,6 +109,7 @@
- timestamps
builders:
- revoke-sudo
- link-logs
- net-info
- update-pypi-mirror

View File

@ -4,6 +4,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
python test.py

View File

@ -5,6 +5,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
export HUDSON_PUBLISH_DOCS=1

View File

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

View File

@ -37,6 +37,7 @@
node: proposal
builders:
- revoke-sudo
- link-logs
- net-info
- gerrit-git-prep

View File

@ -4,6 +4,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
github-org: openstack-infra

View File

@ -2,6 +2,7 @@
name: '{name}-upstream-translation-update'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
@ -16,6 +17,7 @@
name: '{name}-propose-translation-update'
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
@ -35,6 +37,7 @@
name: 'horizon-upstream-translation-update'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
@ -49,6 +52,7 @@
name: '{name}-manuals-upstream-translation-update'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
@ -63,6 +67,7 @@
name: '{name}-manuals-propose-translation-update'
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}

View File

@ -4,6 +4,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
github-org: openstack-infra
@ -23,6 +24,7 @@
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- coverage:
github-org: openstack-infra
@ -42,6 +44,7 @@
- timestamps
builders:
- revoke-sudo
- python27:
github-org: 'openstack-infra'
project: 'zuul'