Add gate-ci-puppet-lint job
With help from gate-ci-puppet-syntax, we now have gate-ci-puppet-lint. We also added a top level Rakefile that uses an upstream gem called puppetlabs_spec_helper. A powerful little wrapper that gives us some cool new testing tools for puppet. Change-Id: If6e06bf632deb0680869ed963c934ff8ee8a783f Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/13660 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
8882b4fd98
commit
be56c251d6
2
modules/Rakefile
Normal file
2
modules/Rakefile
Normal file
@ -0,0 +1,2 @@
|
||||
require 'rubygems'
|
||||
require 'puppetlabs_spec_helper/rake_tasks'
|
@ -65,6 +65,16 @@ class jenkins::slave($ssh_key, $sudo = false, $bare = false, $user = true) {
|
||||
require => Class[pip]
|
||||
}
|
||||
|
||||
$gem_packages = [
|
||||
'puppet-lint',
|
||||
'puppetlabs_spec_helper',
|
||||
]
|
||||
|
||||
package { $gem_packages:
|
||||
ensure => latest,
|
||||
provider => gem,
|
||||
}
|
||||
|
||||
package { 'git-review':
|
||||
ensure => '1.17',
|
||||
provider => pip,
|
||||
|
@ -14,6 +14,21 @@
|
||||
- console-log
|
||||
|
||||
|
||||
- job:
|
||||
name: gate-ci-puppet-lint
|
||||
node: precise
|
||||
|
||||
triggers:
|
||||
- zuul
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- shell: "rake lint"
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
||||
|
||||
- job:
|
||||
name: ci-puppet-compare-xml
|
||||
node: precise
|
||||
|
@ -70,6 +70,8 @@ jobs:
|
||||
voting: false
|
||||
failure-message: Jenkins XML output has changed.
|
||||
success-message: Jenkins XML output is unchanged.
|
||||
- name: gate-ci-puppet-lint
|
||||
voting: false
|
||||
|
||||
|
||||
projects:
|
||||
@ -180,10 +182,12 @@ projects:
|
||||
check:
|
||||
- gate-ci-puppet-merge:
|
||||
- gate-ci-puppet-syntax
|
||||
- gate-ci-puppet-lint
|
||||
- ci-puppet-compare-xml
|
||||
gate:
|
||||
- gate-ci-puppet-merge:
|
||||
- gate-ci-puppet-syntax
|
||||
- gate-ci-puppet-lint
|
||||
|
||||
- name: openstack-ci/puppet-apparmor
|
||||
check:
|
||||
|
Loading…
x
Reference in New Issue
Block a user