2013-05-08 19:44:50 -04:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-{name}-chef-unit'
|
|
|
|
node: '{node}'
|
|
|
|
|
2014-06-05 13:44:55 +02:00
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2014-06-05 13:44:55 +02:00
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
2013-05-08 19:44:50 -04:00
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2014-09-08 14:19:21 -05:00
|
|
|
- ruby-191-prep
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-bundler-prep
|
2014-09-04 10:32:16 -05:00
|
|
|
- revoke-sudo
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-berkshelf-prep
|
|
|
|
- chef-cookbook-chefspec
|
2013-05-08 19:44:50 -04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
2015-02-09 20:12:16 +01:00
|
|
|
# this job template requires a bootstrap.sh script (which installs chefdk and other dependencies)
|
|
|
|
# and a Rakefile with the tests that should be executed in the cookbook
|
2014-11-25 17:35:00 +01:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-{name}-chef-rake'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2015-02-09 20:12:16 +01:00
|
|
|
- chef-bootstrap
|
2014-11-25 17:35:00 +01:00
|
|
|
- revoke-sudo
|
|
|
|
- chef-rake-test
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
2013-05-08 19:44:50 -04:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-{name}-chef-lint'
|
|
|
|
node: '{node}'
|
|
|
|
|
2014-06-05 13:44:55 +02:00
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2014-06-05 13:44:55 +02:00
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
2013-05-08 19:44:50 -04:00
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2014-09-08 14:19:21 -05:00
|
|
|
- ruby-191-prep
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-bundler-prep
|
2014-09-04 10:32:16 -05:00
|
|
|
- revoke-sudo
|
2014-06-02 12:41:42 +02:00
|
|
|
- chef-berkshelf-prep
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-cookbook-foodcritic
|
2013-05-08 19:44:50 -04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
2013-05-29 13:46:49 -04:00
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: 'gate-{name}-chef-style'
|
|
|
|
node: '{node}'
|
|
|
|
|
2014-06-05 13:44:55 +02:00
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2014-06-05 13:44:55 +02:00
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
2013-05-29 13:46:49 -04:00
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2014-09-08 14:19:21 -05:00
|
|
|
- ruby-191-prep
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-bundler-prep
|
2014-09-04 10:32:16 -05:00
|
|
|
- revoke-sudo
|
2014-06-02 12:41:42 +02:00
|
|
|
- chef-berkshelf-prep
|
2014-01-20 15:37:52 -06:00
|
|
|
- chef-cookbook-rubocop
|
2013-05-29 13:46:49 -04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
2013-09-23 13:03:21 -04:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-openstack-chef-repo
|
2014-06-19 12:46:08 -07:00
|
|
|
node: 'bare-precise || bare-trusty'
|
2013-09-23 13:03:21 -04:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- gerrit-git-prep
|
2014-09-08 14:19:21 -05:00
|
|
|
- ruby-191-prep
|
2014-09-04 10:32:16 -05:00
|
|
|
- chef-bundler-prep
|
|
|
|
- revoke-sudo
|
|
|
|
- chef-berkshelf-prep
|
2013-09-23 13:03:21 -04:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
# Validates roles
|
2014-09-08 14:19:21 -05:00
|
|
|
bundle exec spiceweasel infrastructure.yml --debug
|
2013-09-23 13:03:21 -04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|