Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify inspec output format from kitchen.yml #27

Merged
merged 2 commits into from
Dec 24, 2015

Conversation

cheesesashimi
Copy link
Contributor

This implements #26

@chef-supermarket
Copy link

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.

GitHub Users Who Are Not Authorized To Contribute

The following GitHub users do not appear to have signed a CLA:

Please sign the CLA here.

@irvingpop
Copy link

thanks for adding this @cheesesashimi ! We'll need to get you added to the IBM CCLA in order to satisfy currybot.

One bit of feedback, I'm surprised the test here didn't break: https://github.com/chef/kitchen-inspec/blob/master/spec/kitchen/verifier/inspec_spec.rb#L145 - recommend some additional test coverage for specifying a formatter

Also paging @chris-rock for review

@chris-rock
Copy link
Collaborator

@cheesesashimi Thanks for this great addition. This is a great user-facing improvement. Could you add a test to verify that the format is set properly. I am also thinking about adding some documentation about the available flags. What do you think. Let me know if you need help.

@irvingpop This is caused by the fact, that format is optional. Could you make sure with @cheesesashimi that we have a CCLA or CLA signed?

@cheesesashimi
Copy link
Contributor Author

@chris-rock I'll write a test to verify correct formatting and I'd appreciate any feedback once I've attached it since I admit I'm pretty new to Ruby and rspec, in general :). As far as available flags are concerned, aside from --format, --id is another one that I could see someone setting through an env variable provided from their CI system. I'm happy to add that to this pull request as well.

@irvingpop I received an e-mail confirmation that I was added to IBM's CCLA, so I should be good to go unless I also need a signed ICLA as well?

@chef-supermarket
Copy link

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@chris-rock
Copy link
Collaborator

@cheesesashimi Thanks for adding the test. Lets tackle the id in another PR.

chris-rock added a commit that referenced this pull request Dec 24, 2015
Specify inspec output format from kitchen.yml
@chris-rock chris-rock merged commit 9afb9d9 into inspec:master Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants