-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
71 lines (64 loc) · 1.52 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
driver:
name: vagrant
provisioner:
name: chef_zero
# 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
verifier:
name: inspec
platforms:
- name: ubuntu-16.04
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[pm-postgresql::default]
verifier:
inspec_tests:
- test/smoke/recipes/default
attributes:
- name: client
run_list:
- recipe[pm-postgresql::client]
verifier:
inspec_tests:
- test/smoke/recipes/client
attributes:
- name: server
run_list:
- recipe[pm-postgresql::server]
verifier:
inspec_tests:
- test/smoke/recipes/server
attributes:
postgresql:
password:
postgres: supersecret
- name: create_database
run_list:
- recipe[pm-postgresql::server]
- recipe[postgresql::ruby]
- recipe[test::create_database]
verifier:
inspec_tests:
- test/smoke/resources/create_database_test.rb
attributes:
postgresql:
password:
postgres: supersecret
- name: drop_database
run_list:
- recipe[pm-postgresql::server]
- recipe[postgresql::ruby]
- recipe[test::create_database]
- recipe[test::drop_database]
verifier:
inspec_tests:
- test/smoke/resources/drop_database_test.rb
attributes:
postgresql:
password:
postgres: supersecret