system-config/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml
Jay Pipes ba307ea0f5 Adds Chef style checking job
Adds a macro that fires off tailor to check cookbooks
Chef and Ruby style.

See https://review.openstack.org/#/c/30827 for some
more information about the use of tailor against the
Chef cookbook repositories.

Marks the OpenStack Compute cookbook for gating with
this new job.

Change-Id: Ib5b3d6548749ddc1107a70b462f7432dde672410
Reviewed-on: https://review.openstack.org/30921
Reviewed-by: John Dewey <john@dewey.ws>
Reviewed-by: craigtracey <craigtracey@gmail.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
2013-05-30 03:26:15 +00:00

45 lines
686 B
YAML

- job-template:
name: 'gate-{name}-chef-unit'
node: '{node}'
triggers:
- zuul
builders:
- gerrit-git-prep
- chef-cookbook-prep
- chef-cookbook-rspec
publishers:
- console-log
- job-template:
name: 'gate-{name}-chef-lint'
node: '{node}'
triggers:
- zuul
builders:
- gerrit-git-prep
- chef-cookbook-prep
- chef-cookbook-lint
publishers:
- console-log
- job-template:
name: 'gate-{name}-chef-style'
node: '{node}'
triggers:
- zuul
builders:
- gerrit-git-prep
- chef-cookbook-prep
- chef-cookbook-style
publishers:
- console-log