project-config/jenkins/jobs/puppet-module-jobs.yaml
Anita Kuno 1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04: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}'