b1774fded0
We need to make sure that jenkins will run jobs on bare-trusty before we can migrate and projects to bare-trusty. So do the initial JJB prep now, then we can do a project at a time. Change-Id: I6e80567730bff8d387d8a5b87d7368ea3be6d3ab
80 lines
1.5 KiB
YAML
80 lines
1.5 KiB
YAML
- job-template:
|
|
name: 'gate-{name}-puppet-unit-{puppet_version}'
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- 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-template:
|
|
name: 'gate-{name}-puppet-apply-precise'
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- puppet-apply
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-puppet-apply-centos6'
|
|
node: bare-centos6
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- puppet-apply
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-group:
|
|
name: 'gate-{name}-puppet-apply'
|
|
jobs:
|
|
- 'gate-{name}-puppet-apply-centos6'
|
|
- 'gate-{name}-puppet-apply-precise'
|
|
|
|
- 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}'
|