-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.kitchen.yml
154 lines (150 loc) · 3.75 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
driver:
name: vagrant
gui: false
# Veeam Backup Server requires a minimum of 2 CPU and 4GB of RAM
customize:
cpus: 2
memory: 4096
provisioner:
name: chef_zero
data_bags_path: "../../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
- 259 # WinRM error during kitchen test when rebooting after installing .NET 4.5.2
max_retries: 2
wait_for_retry: 120
client_rb:
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: windows-2012r2
transport:
name: winrm
elevated: true
- name: windows-2016
transport:
name: winrm
elevated: true
suites:
- name: catalog
run_list:
- recipe[veeam::catalog]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/catalog
attributes:
veeam:
version: "10.0"
- name: console
run_list:
- recipe[veeam::console]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/console
attributes:
veeam:
version: "10.0"
console:
accept_eula: true
- name: server
run_list:
- recipe[veeam::server]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/server
attributes:
veeam:
version: "10.0"
server:
accept_eula: true
- name: server_with_console
run_list:
- recipe[veeam::server_with_console]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/server
- test/inspec/10.0.0.4461/console
attributes:
veeam:
version: "10.0"
server:
accept_eula: true
console:
accept_eula: true
- name: server_with_catalog
run_list:
- recipe[veeam::server_with_catalog]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/catalog
- test/inspec/10.0.0.4461/server
attributes:
veeam:
version: "10.0"
server:
accept_eula: true
- name: standalone_complete
run_list:
- recipe[veeam::standalone_complete]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/catalog
- test/inspec/10.0.0.4461/server
- test/inspec/10.0.0.4461/console
attributes:
veeam:
version: "10.0"
server:
accept_eula: true
console:
accept_eula: true
- name: proxy_server
run_list:
- recipe[veeam::proxy_server]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/console
attributes:
veeam:
version: "10.0"
console:
accept_eula: true
proxy:
register: false
- name: proxy_remove
run_list:
- recipe[veeam::proxy_remove]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/console
attributes:
veeam:
version: "10.0"
console:
accept_eula: true
proxy:
register: false
- name: upgrade
run_list:
- recipe[veeam::server]
- recipe[veeam::upgrade]
verifier:
inspec_tests:
- test/inspec/10.0.0.4461/server
attributes:
veeam:
version: "10.0.0.4461"
server:
accept_eula: true
console:
accept_eula: true