forked from aws/aws-parallelcluster-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.cloud.yml
275 lines (273 loc) · 9.11 KB
/
.kitchen.cloud.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
---
driver_config:
retryable_sleep: 15
retryable_tries: 30
retry_limit: 6
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
instance_type: <%= ENV['AWS_FLAVOR_ID'] %>
availability_zone: <%= ENV['AWS_AVAILABILITY_ZONE'] %>
subnet_id: <%= ENV['AWS_SUBNET_ID'] %>
security_group_ids: [ <%= ENV['AWS_SECURITY_GROUP_ID'] %> ]
iam_profile_name: <%= ENV['AWS_IAM_PROFILE'] %>
user_data: <%= ENV['USER_DATA_SCRIPT'] %>
tags:
created-by: test-kitchen
Name: test-kitchen-parallelcluster
provisioner:
name: chef_zero
require_chef_omnibus: 17.2.29
chef_omnibus_url: https://raw.githubusercontent.com/aws/aws-parallelcluster-cookbook/develop/util/cinc-install.sh
chef_omnibus_root: /opt/cinc
retry_on_exit_code:
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 1
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
platforms:
- name: amzn2
driver_plugin: ec2
driver_config:
image_id: <%= ENV['ALINUX2_IMAGE_ID'] %>
block_device_mappings:
- device_name: /dev/xvda
ebs:
volume_size: <%= ENV['VOLUME_SIZE'] || 35 %>
volume_type: gp2
delete_on_termination: true
- device_name: /dev/xvdba
virtual_name: ephemeral0
- device_name: /dev/xvdbb
virtual_name: ephemeral1
- device_name: /dev/xvdbc
virtual_name: ephemeral2
- device_name: /dev/xvdbd
virtual_name: ephemeral3
- device_name: /dev/xvdbe
virtual_name: ephemeral4
- device_name: /dev/xvdbf
virtual_name: ephemeral5
- device_name: /dev/xvdbg
virtual_name: ephemeral6
- device_name: /dev/xvdbh
virtual_name: ephemeral7
- device_name: /dev/xvdbi
virtual_name: ephemeral8
- device_name: /dev/xvdbj
virtual_name: ephemeral9
- device_name: /dev/xvdbk
virtual_name: ephemeral10
- device_name: /dev/xvdbl
virtual_name: ephemeral11
- device_name: /dev/xvdbm
virtual_name: ephemeral12
- device_name: /dev/xvdbn
virtual_name: ephemeral13
- device_name: /dev/xvdbo
virtual_name: ephemeral14
- device_name: /dev/xvdbp
virtual_name: ephemeral15
- device_name: /dev/xvdbq
virtual_name: ephemeral16
- device_name: /dev/xvdbr
virtual_name: ephemeral17
- device_name: /dev/xvdbs
virtual_name: ephemeral18
- device_name: /dev/xvdbt
virtual_name: ephemeral19
- device_name: /dev/xvdbu
virtual_name: ephemeral20
- device_name: /dev/xvdbv
virtual_name: ephemeral21
- device_name: /dev/xvdbw
virtual_name: ephemeral22
- device_name: /dev/xvdbx
virtual_name: ephemeral23
transport:
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
- name: centos7
driver_plugin: ec2
driver_config:
image_id: <%= ENV['CENTOS7_IMAGE_ID'] %>
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_size: <%= ENV['VOLUME_SIZE'] || 35 %>
volume_type: gp2
delete_on_termination: true
- device_name: /dev/xvdba
virtual_name: ephemeral0
- device_name: /dev/xvdbb
virtual_name: ephemeral1
- device_name: /dev/xvdbc
virtual_name: ephemeral2
- device_name: /dev/xvdbd
virtual_name: ephemeral3
- device_name: /dev/xvdbe
virtual_name: ephemeral4
- device_name: /dev/xvdbf
virtual_name: ephemeral5
- device_name: /dev/xvdbg
virtual_name: ephemeral6
- device_name: /dev/xvdbh
virtual_name: ephemeral7
- device_name: /dev/xvdbi
virtual_name: ephemeral8
- device_name: /dev/xvdbj
virtual_name: ephemeral9
- device_name: /dev/xvdbk
virtual_name: ephemeral10
- device_name: /dev/xvdbl
virtual_name: ephemeral11
- device_name: /dev/xvdbm
virtual_name: ephemeral12
- device_name: /dev/xvdbn
virtual_name: ephemeral13
- device_name: /dev/xvdbo
virtual_name: ephemeral14
- device_name: /dev/xvdbp
virtual_name: ephemeral15
- device_name: /dev/xvdbq
virtual_name: ephemeral16
- device_name: /dev/xvdbr
virtual_name: ephemeral17
- device_name: /dev/xvdbs
virtual_name: ephemeral18
- device_name: /dev/xvdbt
virtual_name: ephemeral19
- device_name: /dev/xvdbu
virtual_name: ephemeral20
- device_name: /dev/xvdbv
virtual_name: ephemeral21
- device_name: /dev/xvdbw
virtual_name: ephemeral22
- device_name: /dev/xvdbx
virtual_name: ephemeral23
transport:
username: centos
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
- name: ubuntu-1804-lts
driver_plugin: ec2
driver_config:
image_id: <%= ENV['UBUNTU1804_IMAGE_ID'] %>
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_size: <%= ENV['VOLUME_SIZE'] || 35 %>
volume_type: gp2
delete_on_termination: true
- device_name: /dev/xvdba
virtual_name: ephemeral0
- device_name: /dev/xvdbb
virtual_name: ephemeral1
- device_name: /dev/xvdbc
virtual_name: ephemeral2
- device_name: /dev/xvdbd
virtual_name: ephemeral3
- device_name: /dev/xvdbe
virtual_name: ephemeral4
- device_name: /dev/xvdbf
virtual_name: ephemeral5
- device_name: /dev/xvdbg
virtual_name: ephemeral6
- device_name: /dev/xvdbh
virtual_name: ephemeral7
- device_name: /dev/xvdbi
virtual_name: ephemeral8
- device_name: /dev/xvdbj
virtual_name: ephemeral9
- device_name: /dev/xvdbk
virtual_name: ephemeral10
- device_name: /dev/xvdbl
virtual_name: ephemeral11
- device_name: /dev/xvdbm
virtual_name: ephemeral12
- device_name: /dev/xvdbn
virtual_name: ephemeral13
- device_name: /dev/xvdbo
virtual_name: ephemeral14
- device_name: /dev/xvdbp
virtual_name: ephemeral15
- device_name: /dev/xvdbq
virtual_name: ephemeral16
- device_name: /dev/xvdbr
virtual_name: ephemeral17
- device_name: /dev/xvdbs
virtual_name: ephemeral18
- device_name: /dev/xvdbt
virtual_name: ephemeral19
- device_name: /dev/xvdbu
virtual_name: ephemeral20
- device_name: /dev/xvdbv
virtual_name: ephemeral21
- device_name: /dev/xvdbw
virtual_name: ephemeral22
- device_name: /dev/xvdbx
virtual_name: ephemeral23
transport:
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
- name: ubuntu-2004-lts
driver_plugin: ec2
driver_config:
image_id: <%= ENV['UBUNTU2004_IMAGE_ID'] %>
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_size: <%= ENV['VOLUME_SIZE'] || 35 %>
volume_type: gp2
delete_on_termination: true
- device_name: /dev/xvdba
virtual_name: ephemeral0
- device_name: /dev/xvdbb
virtual_name: ephemeral1
- device_name: /dev/xvdbc
virtual_name: ephemeral2
- device_name: /dev/xvdbd
virtual_name: ephemeral3
- device_name: /dev/xvdbe
virtual_name: ephemeral4
- device_name: /dev/xvdbf
virtual_name: ephemeral5
- device_name: /dev/xvdbg
virtual_name: ephemeral6
- device_name: /dev/xvdbh
virtual_name: ephemeral7
- device_name: /dev/xvdbi
virtual_name: ephemeral8
- device_name: /dev/xvdbj
virtual_name: ephemeral9
- device_name: /dev/xvdbk
virtual_name: ephemeral10
- device_name: /dev/xvdbl
virtual_name: ephemeral11
- device_name: /dev/xvdbm
virtual_name: ephemeral12
- device_name: /dev/xvdbn
virtual_name: ephemeral13
- device_name: /dev/xvdbo
virtual_name: ephemeral14
- device_name: /dev/xvdbp
virtual_name: ephemeral15
- device_name: /dev/xvdbq
virtual_name: ephemeral16
- device_name: /dev/xvdbr
virtual_name: ephemeral17
- device_name: /dev/xvdbs
virtual_name: ephemeral18
- device_name: /dev/xvdbt
virtual_name: ephemeral19
- device_name: /dev/xvdbu
virtual_name: ephemeral20
- device_name: /dev/xvdbv
virtual_name: ephemeral21
- device_name: /dev/xvdbw
virtual_name: ephemeral22
- device_name: /dev/xvdbx
virtual_name: ephemeral23
transport:
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>