78 lines
1.4 KiB
YAML
78 lines
1.4 KiB
YAML
- job-template:
|
|
name: 'gate-{name}-chef-unit'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- ruby-191-prep
|
|
- chef-bundler-prep
|
|
- revoke-sudo
|
|
- chef-berkshelf-prep
|
|
- chef-cookbook-chefspec
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-chef-lint'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- ruby-191-prep
|
|
- chef-bundler-prep
|
|
- revoke-sudo
|
|
- chef-berkshelf-prep
|
|
- chef-cookbook-foodcritic
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-chef-style'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- ruby-191-prep
|
|
- chef-bundler-prep
|
|
- revoke-sudo
|
|
- chef-berkshelf-prep
|
|
- chef-cookbook-rubocop
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: gate-openstack-chef-repo
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- ruby-191-prep
|
|
- chef-bundler-prep
|
|
- revoke-sudo
|
|
- chef-berkshelf-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
# Validates roles
|
|
bundle exec spiceweasel infrastructure.yml --debug
|
|
|
|
publishers:
|
|
- console-log
|