mirror of
https://github.com/inspec/inspec
synced 2024-11-11 07:34:15 +00:00
Merge pull request #4840 from inspec/mj/tktk
Start forming resource-core
This commit is contained in:
commit
287c98fff4
2 changed files with 31 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
|||
source "https://supermarket.chef.io"
|
||||
|
||||
cookbook "audit"
|
||||
cookbook "build-essential"
|
||||
cookbook "os_prepare", path: "./test/kitchen/cookbooks/os_prepare"
|
||||
|
|
|
@ -14,6 +14,8 @@ lifecycle:
|
|||
- local: gem build inspec-core.gemspec --output test/kitchen/cookbooks/os_prepare/files/inspec-core-local.gem
|
||||
|
||||
platforms:
|
||||
- name: amazonlinux
|
||||
- name: amazonlinux-2
|
||||
- name: centos-6
|
||||
- name: centos-7
|
||||
- name: centos-8
|
||||
|
@ -27,14 +29,31 @@ platforms:
|
|||
- 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/kitchen/policies/find_files
|
||||
excludes:
|
||||
- freebsd-12
|
||||
- name: resources-core
|
||||
run_list:
|
||||
- recipe[build-essential]
|
||||
- recipe[os_prepare]
|
||||
- recipe[audit]
|
||||
verifier:
|
||||
name: inspec
|
||||
inspec_tests:
|
||||
- test/kitchen/policies/find_files
|
||||
attributes:
|
||||
audit:
|
||||
attributes:
|
||||
audit_attribute: 'Attribute Override!'
|
||||
insecure: true
|
||||
reporter: ['json-file','chef-automate']
|
||||
fetcher: 'chef-automate'
|
||||
json_file:
|
||||
location: /tmp/json_export.json
|
||||
profiles:
|
||||
- name: integration
|
||||
url: https://github.com/inspec/inspec-integration-profile/archive/master.zip
|
||||
osprepare:
|
||||
docker: true
|
||||
application: false
|
||||
|
||||
- name: resources-database
|
||||
- name: resources-unix
|
||||
- name: resources-windows
|
||||
|
|
Loading…
Reference in a new issue