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

86 lines
1.7 KiB
YAML

- job-template:
name: '{name}-tox-doc-{envlist}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
- upload-to-docs-site
- upload-doc-build-results
node: '{node}'
- job:
name: openstack-api-ref
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishdocs-api'
github-org: 'openstack'
project: 'api-site'
publishers:
- console-log
- upload-doc-build-results
- ftp:
site: api.openstack.org
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www
- job:
name: openstack-api-site
node: bare-precise
builders:
- revoke-sudo
- gerrit-git-prep
publishers:
- ftp:
site: api.openstack.org
source: 'www/**'
target: ''
remove-prefix: 'www/'
excludes: ''
- console-log
- job:
name: compute-api-v2.0-wadl
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
publishers:
- ftp:
site: docs.openstack.org
source: 'target/**'
target: 'api/openstack-compute/2/wadl/'
remove-prefix: 'target/'
excludes: '**/*.xml,**/null*'
- console-log