mirror of
https://github.com/inspec/inspec
synced 2024-12-11 13:54:07 +00:00
29 lines
575 B
YAML
29 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:
|
||
|
|