kitchen-inspec
kitchen-inspec copied to clipboard
DO NOT MERGE: CHEF-12879 Kitchen integration with InSpec 6
DO NOT MERGE:
- Merge and release this PR after test-kitchen changes with licensing are released.
- Test kitchen changes are dependent on release of licensing changes of Infra tracked here https://github.com/chef/chef/pull/14467
Description
- Upgrade Inspec version to major version 6
- Enable the ability to set chef_license_key using Kitchen
- Enable the ability to set chef_license_server using Kitchen
Via Kitchen kitchen.yaml
To configure verifier block with chef_license_key
:
verifier:
name: inspec
chef_license_key: LICENSE_KEY
To configure verifier block with chef_license_server
:
Multiple URLS
verifier:
name: inspec
chef_license_key: LICENSE_KEY
chef_license_server:
- https://test-url-1
- https://test-url-2
Or
Single URL
verifier:
name: inspec
chef_license_key: LICENSE_KEY
chef_license_server: https://test-url-1
Check List
- [ ] New functionality includes tests
- [ ] All tests pass
- [ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco
- [ ] PR title is a worthy inclusion in the CHANGELOG