system-config/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml
Dan Bode d719583ea0 configure puppet-module-unit tests for zuul
This commit attempts to fix the unit test gates
by adding a few parameters that are required
for zuul to build the jobs.

Change-Id: I8b9c14b1be636e82dbfc3f88b6501813aff41d4c
Reviewed-on: https://review.openstack.org/26393
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-04-08 19:04:42 +00:00

32 lines
771 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}'