inspec/lib/plugins/inspec-habitat/kitchen.yml
Jerry Aldrich bf748d8478 Rewrite inspec-habitat plugin
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-19 00:47:14 -08:00

28 lines
575 B
YAML

---
driver:
name: vagrant
provisioner:
name: chef_solo
sudo: true
verifier:
name: inspec
platforms:
- name: ubuntu-18.04
lifecycle:
# Build the InSpec gem so it is available to install during `kitchen converge`
pre_create:
- cd ../../../ && gem build inspec.gemspec
- mv ../../../inspec-*.gem test/cookbooks/inspec_habitat_fixture/files/inspec-local.gem
post_converge:
- local: sleep 10 # Wait for Habitat to load/run hab service before `verify`
suites:
- name: default
run_list:
- recipe[inspec_habitat_fixture]
attributes: