
This commit sets the version of puppet to install as the approximate version to by adding ~> to the version string. Previously, the version number was not valid. Change-Id: I3cf70986f951049f6f5f5d49a54629b7e29152c0 Reviewed-on: https://review.openstack.org/26401 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
32 lines
777 B
YAML
32 lines
777 B
YAML
- job-template:
|
|
name: 'gate-{name}-puppet-unit-{puppet_version}'
|
|
node: '{node}'
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
export PUPPET_GEM_VERSION="~> ${puppet_version}"
|
|
mkdir .bundled_gems
|
|
export GEM_HOME=`pwd`/.bundled_gems
|
|
bundle install
|
|
echo {puppet_version} | grep '2.6' && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true
|
|
bundle exec rake spec SPEC_OPTS='--format documentation'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
|
|
|
|
- job-group:
|
|
name: 'puppet-module-unit'
|
|
puppet_version:
|
|
- 2.6
|
|
- 2.7
|
|
- 3.0
|
|
- 3.1
|
|
jobs:
|
|
- 'gate-{name}-puppet-unit-{puppet_version}'
|