chef-boneyard / delivery-truck

DEPRECATED: Delivery build cb for pipelines
Apache License 2.0
36 stars 52 forks source link

Add support for cookstyle linter #28

Closed mattstratton closed 7 years ago

mattstratton commented 7 years ago

This change supports an opt-in feature in the lint stage to use cookstyle instead of rubocop for linting.

The user will set this using the enable_cookstyle configuration setting in config.json, which will cause cookstyle tests to be executed against any changed cookbooks.

If cookstyle is not available on the builder/runner, these tests will not occur.

This change also updated the README with instructions on how to use this new functionality.

This change also adds the live_stream parameter to the rubocop tests for more output to the console.

Fixes #24

Signed-off-by: Matt Stratton matt.stratton@gmail.com

kevinreedy commented 7 years ago

I almost rewrote this with a customer today. I'd love to see it merged!

mattstratton commented 7 years ago

This was merged in with 1d5481ee39eee9f8fed9271d60ded7c9a39cfbfb