-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
45 lines (39 loc) · 1.3 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
driver:
name: vagrant
provisioner:
name: chef_zero
nodes_path: test/fixtures/nodes
clients_path: test/fixtures/clients
environments_path: test/fixtures/environments
data_bags_path: test/fixtures/data_bags
# You many wish to test your CHEF::Log.<level> messages while using test-kitchen. Change the below
# value to the level of choice. For cleaner output, comment this option out.
log_level: info
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
retry_on_exit_code: # https://discourse.chef.io/t/test-kitchen-1-10-0-released/8721
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 2
client_rb:
environment: test
exit_status: :enabled # Opt-in to the standardized exit codes
client_fork: false # Forked instances don't return the real exit code
verifier:
name: inspec
platforms:
- name: ubuntu-16.04
- name: centos-7.2
suites:
- name: default
run_list:
- recipe[secrets_management_test::default]
verifier:
inspec_tests:
- test/smoke/secrets_management_tests
attributes:
hashicorp:
token: <%= ENV['VAULT_TOKEN'] %>
address: <%= ENV['VAULT_ADDR'] %>