forked from sous-chefs/mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.cloud.yml
262 lines (241 loc) · 5.78 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
---
driver_config:
digitalocean_client_id: <%= ENV['DIGITAL_OCEAN_CLIENT_ID'] %>
digitalocean_api_key: <%= ENV['DIGITAL_OCEAN_API_KEY'] %>
google_client_email: <%= ENV['GOOGLE_CLIENT_EMAIL'] %>
google_key_location: <%= ENV['GOOGLE_KEY_LOCATION'] %>
google_project: <%= ENV['GOOGLE_PROJECT'] %>
joyent_username: <%= ENV['SDC_CLI_ACCOUNT'] %>
joyent_keyfile: <%= ENV['SDC_CLI_IDENTITY'] %>
joyent_keyname: <%= ENV['SDC_CLI_KEY_ID'] %>
joyent_url: <%= ENV['SDC_CLI_URL'] %>
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
provisioner:
name: chef_zero
require_chef_omnibus: 11.10.4
platforms:
- name: centos-5.8
driver_plugin: digitalocean
driver_config:
image_id: 1601
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
- name: centos-6.5
driver_plugin: digitalocean
driver_config:
image_id: 3102789
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
- name: amazon-2013.09
driver_plugin: ec2
driver_config:
image_id: ami-3be4bc52
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
- name: amazon-2014.03
driver_plugin: ec2
driver_config:
image_id: ami-6b726502
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
- name: fedora-19
driver_plugin: digitalocean
driver_config:
image_id: 3102879
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
- name: debian-7.0
driver_plugin: gce
driver_config:
image_name: debian-7-wheezy-v20131120
zone: <%= ENV['GCE_ZONE'] %>
area: <%= ENV['GCE_AREA'] %>
network: <%= ENV['GCE_NETWORK'] %>
username: <%= ENV['GCE_USERNAME'] %>
public_key_path: <%= ENV['GCE_PUBLIC_KEY_PATH'] %>
ssh_key: <%= ENV['GCE_SSH_KEY_PATH'] %>
run_list:
- recipe[apt]
- name: ubuntu-10.04
driver_plugin: digitalocean
driver_config:
image_id: 14097
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
run_list:
- recipe[apt]
- name: ubuntu-12.04
driver_plugin: digitalocean
driver_config:
image_id: 3101045
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
run_list:
- recipe[apt]
- name: ubuntu-14.04
driver_plugin: digitalocean
driver_config:
image_id: 3240036
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
run_list:
- recipe[apt]
- name: smartos-13.4.0
driver_plugin: joyent
driver_config:
joyent_image_id: ff86eb8a-a069-11e3-ae0e-4f3c8983a91c
joyent_flavor_id: g3-standard-4-smartos
username: root
ssh_key: <%= ENV['SDC_CLI_IDENTITY'] %>
busser:
ruby_bindir: '/opt/local/bin/'
provisioner:
name: chef_zero
sudo: false
chef_omnibus_url: https://raw.github.com/test-kitchen/kitchen-joyent/master/scripts/install-smartos.sh
- name: omnios-151006
driver_plugin: ec2
driver_config:
availability_zone: us-east-1d
image_id: ami-35eb835c
flavor_id: m3.medium
username: root
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
run_list:
- recipe[ips-omniti]
suites:
#
# client
#
- name: client
run_list:
- recipe[mysql_client_test]
#
# server5.0
#
- name: server50-default
run_list:
- recipe[mysql_test_custom::server]
includes: [ 'centos-5.8' ]
attributes:
mysql:
version: '5.0'
- name: server50-custom
run_list:
- recipe[mysql_test_custom::server]
includes: [ 'centos-5.8' ]
attributes:
mysql:
version: '5.0'
port: '3308'
data_dir: '/data'
#
# server5.1
#
- name: server51-default
run_list:
- recipe[mysql_test_custom::server]
includes: [
'centos-5.8',
'centos-6.4',
'amazon-2013.09',
'ubuntu-10.04'
]
attributes:
mysql:
version: '5.1'
- name: server51-custom
run_list:
- recipe[mysql_test_custom::server]
includes: [
'centos-5.8',
'centos-6.4',
'amazon-2013.09',
'amazon-2014.03',
'ubuntu-10.04'
]
attributes:
mysql:
version: '5.1'
port: '3308'
data_dir: '/data'
#
# server5.5
#
- name: server55-default
run_list:
- recipe[mysql_test_custom::server]
includes: [
'centos-5.8',
'amazon-2014.03',
'fedora-19',
'debian-7.0',
'ubuntu-12.04',
'ubuntu-13.10',
'ubuntu-14.04',
'smartos-13.4.0',
'omnios-151006'
]
attributes:
mysql:
version: '5.5'
- name: server55-custom
run_list:
- recipe[mysql_test_custom::server]
includes: [
'centos-5.8',
'amazon-2014.03',
'fedora-19',
'debian-7.0',
'ubuntu-12.04',
'ubuntu-13.10',
'smartos-13.4.0',
'omnios-151006'
]
attributes:
mysql:
version: '5.5'
port: '3308'
data_dir: '/data'
#
# server56
#
- name: server56-default
run_list:
- recipe[mysql_test_custom::server]
includes: [
'smartos-13.4.0',
'omnios-151006'
]
attributes:
mysql:
version: '5.6'
data_dir: '/data'
- name: server56-custom
run_list:
- recipe[mysql_test_custom::server]
includes: [
'smartos-13.4.0',
'omnios-151006'
]
attributes:
mysql:
version: '5.6'
port: '3308'
data_dir: '/data'