
Puppet 3.4 has been release the 19th December 2013 and is the latest stable release. This patch aims to add a new step in gate testing with the goal to ensure that OpenStack module work with Puppet 3.4. Change-Id: I2c74b7f23f5cf0973f2afd0629b5de63dd4c69c4 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
50 lines
947 B
YAML
50 lines
947 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
|
|
- 3.4
|
|
jobs:
|
|
- 'gate-{name}-puppet-unit-{puppet_version}'
|