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:
parent
7fb0ac4d17
commit
17bbf537fd
@ -8,6 +8,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- tox:
|
- tox:
|
||||||
envlist: '{envlist}'
|
envlist: '{envlist}'
|
||||||
@ -27,6 +28,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- tox:
|
- tox:
|
||||||
envlist: 'publishdocs-api'
|
envlist: 'publishdocs-api'
|
||||||
@ -50,6 +52,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
@ -67,6 +70,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
|
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
|
||||||
|
|
||||||
|
@ -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}'
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
prebuilders:
|
prebuilders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- gerrit-preclean
|
- gerrit-preclean
|
||||||
|
|
||||||
@ -43,6 +44,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
prebuilders:
|
prebuilders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- gerrit-preclean
|
- gerrit-preclean
|
||||||
|
|
||||||
@ -71,6 +73,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
prebuilders:
|
prebuilders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- gerrit-preclean
|
- gerrit-preclean
|
||||||
|
|
||||||
@ -102,6 +105,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
mkdir -p gerrit
|
mkdir -p gerrit
|
||||||
@ -141,6 +145,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
mkdir -p gerrit
|
mkdir -p gerrit
|
||||||
@ -176,6 +181,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
mkdir -p gerrit
|
mkdir -p gerrit
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- revoke-sudo
|
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- selenium:
|
- selenium:
|
||||||
github-org: openstack
|
github-org: openstack
|
||||||
@ -22,6 +23,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh 27dj14 openstack horizon'
|
- shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh 27dj14 openstack horizon'
|
||||||
- assert-no-extra-files
|
- assert-no-extra-files
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
@ -30,6 +31,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
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- tox:
|
- tox:
|
||||||
envlist: 'irc'
|
envlist: 'irc'
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- docs:
|
- docs:
|
||||||
github-org: openstack-infra
|
github-org: openstack-infra
|
||||||
@ -23,6 +24,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-infra jenkins-job-builder
|
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-infra jenkins-job-builder
|
||||||
|
@ -181,6 +181,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- tox:
|
- tox:
|
||||||
envlist: '{envlist}'
|
envlist: '{envlist}'
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: "./tools/validate.py"
|
- shell: "./tools/validate.py"
|
||||||
|
|
||||||
@ -16,6 +17,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
@ -44,6 +46,7 @@
|
|||||||
properties-file: gerrit-doc.properties
|
properties-file: gerrit-doc.properties
|
||||||
|
|
||||||
prebuilders:
|
prebuilders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- 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
|
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
|
properties-file: gerrit-doc.properties
|
||||||
|
|
||||||
prebuilders:
|
prebuilders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
|
|
||||||
maven:
|
maven:
|
||||||
@ -116,6 +120,7 @@
|
|||||||
properties-file: gerrit-doc.properties
|
properties-file: gerrit-doc.properties
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
@ -28,6 +29,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
@ -47,6 +49,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
@ -66,6 +69,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
@ -85,6 +89,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
@ -104,6 +109,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- update-pypi-mirror
|
- update-pypi-mirror
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
python test.py
|
python test.py
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
export HUDSON_PUBLISH_DOCS=1
|
export HUDSON_PUBLISH_DOCS=1
|
||||||
|
@ -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
|
||||||
@ -23,6 +24,7 @@
|
|||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
node: proposal
|
node: proposal
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- docs:
|
- docs:
|
||||||
github-org: openstack-infra
|
github-org: openstack-infra
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
name: '{name}-upstream-translation-update'
|
name: '{name}-upstream-translation-update'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
@ -16,6 +17,7 @@
|
|||||||
name: '{name}-propose-translation-update'
|
name: '{name}-propose-translation-update'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
|
/usr/local/jenkins/slave_scripts/propose_translation_update.sh {github-org} {name}
|
||||||
@ -35,6 +37,7 @@
|
|||||||
name: 'horizon-upstream-translation-update'
|
name: 'horizon-upstream-translation-update'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
@ -49,6 +52,7 @@
|
|||||||
name: '{name}-manuals-upstream-translation-update'
|
name: '{name}-manuals-upstream-translation-update'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
@ -63,6 +67,7 @@
|
|||||||
name: '{name}-manuals-propose-translation-update'
|
name: '{name}-manuals-propose-translation-update'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}
|
/usr/local/jenkins/slave_scripts/propose_translation_update_manuals.sh {name}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- docs:
|
- docs:
|
||||||
github-org: openstack-infra
|
github-org: openstack-infra
|
||||||
@ -23,6 +24,7 @@
|
|||||||
node: bare-precise
|
node: bare-precise
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- coverage:
|
- coverage:
|
||||||
github-org: openstack-infra
|
github-org: openstack-infra
|
||||||
@ -42,6 +44,7 @@
|
|||||||
- timestamps
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
- python27:
|
- python27:
|
||||||
github-org: 'openstack-infra'
|
github-org: 'openstack-infra'
|
||||||
project: 'zuul'
|
project: 'zuul'
|
||||||
|
Loading…
Reference in New Issue
Block a user