mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
a05699c5c3
Before you had to kick off kitchen via Rake as the Rake task build the local gem we injected into the cookbook. Now we do it within Test Kitchen using a feature that didn't exist when this was all written. Also --output is your friend and greatly reduces the complexity of all this. Signed-off-by: Tim Smith <tsmith@chef.io>
40 lines
727 B
YAML
40 lines
727 B
YAML
---
|
|
driver:
|
|
name: vagrant
|
|
|
|
provisioner:
|
|
name: chef_solo
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
|
|
lifecycle:
|
|
pre_converge:
|
|
- local: gem build inspec-core.gemspec --output test/cookbooks/os_prepare/files/inspec-core-local.gem
|
|
|
|
platforms:
|
|
- name: centos-6
|
|
- name: centos-7
|
|
- name: debian-8
|
|
- name: debian-9
|
|
- name: fedora-28
|
|
- name: fedora-29
|
|
- name: freebsd-11
|
|
- name: opensuseleap-42
|
|
- name: opensuseleap-15
|
|
- name: ubuntu-16.04
|
|
- name: ubuntu-18.04
|
|
|
|
suites:
|
|
- name: default
|
|
run_list:
|
|
- recipe[os_prepare]
|
|
- name: find_files
|
|
run_list:
|
|
- recipe[os_prepare::find_files]
|
|
verifier:
|
|
inspec_tests:
|
|
- test/integration/find_files
|
|
excludes:
|
|
- freebsd-11
|