James E. Blair fd80460a35 Switch infra to new puppet apply job
The new job is an integration test between config and puppet
modules.  Start using it.

Add it to puppet-storyboard.  Also, correct the names of the
puppet lint/syntax jobs that were inexplicably set to 'config'.

Change-Id: I48c0681a30d507bd7627d6b73c529e2074993d9a
2014-09-15 16:49:59 -07:00

59 lines
1.1 KiB
YAML

- job-template:
name: 'gate-{name}-puppet-unit-{puppet_version}'
node: '{node}'
builders:
- uninstall-puppet
- 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-check-jobs'
jobs:
- 'gate-{name}-puppet-lint'
- 'gate-{name}-puppet-syntax'
- 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}'