9012c575ca
In preperation for some upcoming puppet work, we needed to break out our -infra/config puppet specific tests into more generic ones. This will allow other projects to start using them Change-Id: Ib7839b6877d4e2e945a344df26725a01dd02cb21 Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/27952 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
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-template:
|
|
name: 'gate-{name}-puppet-lint'
|
|
node: '{node}'
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- puppet-lint
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-puppet-syntax'
|
|
node: '{node}'
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- puppet-syntax
|
|
|
|
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}'
|