system-config/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml
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

52 lines
995 B
YAML

- job-template:
name: 'gate-{name}-puppet-unit-{puppet_version}'
node: '{node}'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
export PUPPET_GEM_VERSION='~> {puppet_version}.0'
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
bundle install
bundle exec rake spec SPEC_OPTS='--format documentation'
publishers:
- console-log
- job-template:
name: 'gate-{name}-puppet-lint'
node: '{node}'
builders:
- revoke-sudo
- gerrit-git-prep
- puppet-lint
publishers:
- console-log
- job-template:
name: 'gate-{name}-puppet-syntax'
node: '{node}'
builders:
- revoke-sudo
- gerrit-git-prep
- puppet-syntax
publishers:
- console-log
- job-group:
name: 'puppet-module-unit'
puppet_version:
- 2.7
- 3.1
- 3.2
- 3.3
- 3.4
jobs:
- 'gate-{name}-puppet-unit-{puppet_version}'