system-config/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml
Mathieu Gagné 58b4dfc2e0 Add puppet unit tests against Puppet 3.2/3.3
Mark jobs as non-voting until Puppet 3.2/3.3 support is validated.

Change-Id: I7b0b413bef5afa32d91157b469e700ecb4d37cce
2013-10-31 22:22:22 -04:00

49 lines
935 B
YAML

- job-template:
name: 'gate-{name}-puppet-unit-{puppet_version}'
node: '{node}'
builders:
- 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:
- gerrit-git-prep
- puppet-lint
publishers:
- console-log
- job-template:
name: 'gate-{name}-puppet-syntax'
node: '{node}'
builders:
- gerrit-git-prep
- puppet-syntax
publishers:
- console-log
- job-group:
name: 'puppet-module-unit'
puppet_version:
- 2.7
- 3.0
- 3.1
- 3.2
- 3.3
jobs:
- 'gate-{name}-puppet-unit-{puppet_version}'