forked from spinnaker/spinnaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_tests.yaml
348 lines (319 loc) · 10.5 KB
/
all_tests.yaml
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# This file is used to specify the tests used by the validate_bom.sh script.
# See validate_bom__test.py for more info.
aliases:
standard_google_provider_params:
google_primary_managed_project_id: $google_account_project
spinnaker_google_account: $google_account_name
gce_credentials_path: $google_account_credentials
standard_appengine_provider_params:
spinnaker_appengine_account: $appengine_account_name
appengine_credentials_path: $appengine_account_credentials
appengine_primary_managed_project_id: $appengine_account_project
standard_aws_provider_params:
spinnaker_aws_account: $aws_account_name
aws_profile: citest
test_aws_security_group_id: $VALIDATE_AWS_SECURITY_GROUP
standard_azure_provider_params:
spinnaker_azure_account: $azure_account_name
aws_profile: citest
standard_dcos_provider_params:
spinnaker_dcos_account: $dcos_account_name
spinnaker_dcos_cluster: $dcos_cluster_name
tests:
bake_and_deploy_test:
requires:
configuration:
google_account_enabled: true
jenkins_master_enabled: true
services: [clouddriver, echo, front50, gate, igor, orca, rosco]
quota:
gce_region_IN_USE_ADDRESSES: 1
gce_region_INSTANCE_GROUP_MANAGERS: 1
gce_region_CPUS: 1
gce_region_INSTANCE_GROUPS: 1
gce_global_FORWARDING_RULES: 1
gce_global_HEALTH_CHECKS: 1
gce_global_FORWARDING_RULES: 1
gce_global_TARGET_POOLS: 1
api: gate
args:
alias: [standard_google_provider_params]
test_google:
jenkins_token: TRIGGER_TOKEN
jenkins_job: $test_jenkins_job_name
jenkins_url: $jenkins_master_address
jenkins_master: $jenkins_master_name
jenkins_master_user: $jenkins_master_user
gcs_front50_test:
requires:
configuration:
spinnaker_storage: gcs
# NOTE (20170622):
# Localdebian because for some reason kubectl doesnt work
# the port forwarding into front50 will often be reset by peer
# I think this is a k8s issue but cant figure it out.
#
# It is only for front50, only with kubernetes, and very consistent,
# though doesnt seem to happen in fresh clusters. Internal pods
# are fine (other services use front50 without incident).
#
# I'm disabling this test in k8s for now. It shouldnt be sensitive to
# the deployment environment so gce deployments are sufficient to confirm
# front50 working correctly (and other k8s tests use it indirectly).
# deploy_spinnaker_type: localdebian
services: [front50]
api: front50
args:
alias: [standard_google_provider_params]
gcs_bucket: $storage_gcs_bucket
gcs_json_path: $storage_gcs_credentials
gcs_base_path: front50
google_kato_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver]
api: clouddriver
quota:
gce_region_IN_USE_ADDRESSES: 3
gce_region_CPUS: 3
gce_global_IN_USE_ADDRESSES: 1
gce_global_FORWARDING_RULES: 1
gce_global_HEALTH_CHECKS: 1
gce_global_TARGET_POOLS: 1
args:
alias: [standard_google_provider_params]
google_zonal_server_group_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver, front50, gate, orca]
quota:
gce_region_IN_USE_ADDRESSES: 2
gce_region_INSTANCE_GROUP_MANAGERS: 1
gce_region_CPUS: 2
gce_global_IN_USE_ADDRESSES: 2
gce_global_TARGET_HTTP_PROXIES: 1
gce_global_BACKEND_SERVICES: 1
gce_global_URL_MAPS: 1
gce_global_HEALTH_CHECKS: 2
gce_global_FORWARDING_RULES: 1
gce_global_TARGET_POOLS: 1
path: citest/tests/google_server_group_test.py
api: gate
args:
alias: [standard_google_provider_params]
google_regional_server_group_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver, front50, gate, orca]
quota:
gce_region_IN_USE_ADDRESSES: 3
gce_region_REGIONAL_INSTANCE_GROUP_MANAGERS: 2
gce_region_CPUS: 3
gce_global_IN_USE_ADDRESSES: 1
gce_global_FORWARDING_RULES: 1
gce_global_TARGET_POOLS: 1
path: citest/tests/google_server_group_test.py
api: gate
args:
alias: [standard_google_provider_params]
regional:
google_smoke_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver, front50, gate, orca]
quota:
gce_region_IN_USE_ADDRESSES: 2
gce_region_INSTANCE_GROUP_MANAGERS: 1
gce_region_CPUS: 2
gce_region_INSTANCE_GROUPS: 1
gce_global_IN_USE_ADDRESSES: 2
gce_global_TARGET_HTTP_PROXIES: 1
gce_global_BACKEND_SERVICES: 1
gce_global_URL_MAPS: 1
gce_global_HEALTH_CHECKS: 2
gce_global_FORWARDING_RULES: 2
gce_global_TARGET_POOLS: 1
api: gate
args:
alias: [standard_google_provider_params]
google_http_lb_upsert_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver, front50, gate, orca]
quota:
gce_global_IN_USE_ADDRESSES: 1
gce_global_TARGET_HTTP_PROXIES: 1
gce_global_BACKEND_SERVICES: 3
gce_global_SSL_CERTIFICATES: 1
gce_global_URL_MAPS: 1
gce_global_HEALTH_CHECKS: 2
gce_global_FORWARDING_RULES: 1
gce_global_FIREWALLS: 1
api: gate
args:
alias: [standard_google_provider_params]
google_http_lb_upsert_server_test:
requires:
configuration:
google_account_enabled: true
services: [clouddriver, front50, gate, orca]
quota:
gce_region_IN_USE_ADDRESSES: 1
gce_region_INSTANCE_GROUP_MANAGERS: 1
gce_region_CPUS: 1
gce_region_INSTANCE_GROUPS: 1
gce_global_IN_USE_ADDRESSES: 1
gce_global_TARGET_HTTP_PROXIES: 1
gce_global_BACKEND_SERVICES: 3
gce_global_SSL_CERTIFICATES: 1
gce_global_TARGET_HTTPS_PROXIES: 1
gce_global_URL_MAPS: 1
gce_global_HEALTH_CHECKS: 2
gce_global_FORWARDING_RULES: 1
gce_global_FIREWALLS: 1
api: gate
args:
alias: [standard_google_provider_params]
kube_smoke_test:
requires:
configuration:
k8s_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_account: $k8s_account_name
test_namespace: $k8s_account_namespaces
kube_v2_smoke_test:
requires:
configuration:
k8s_v2_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_v2_account: $k8s_v2_account_name
test_namespace: $k8s_v2_account_namespaces
kube_v2_cache_test:
requires:
configuration:
k8s_v2_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_v2_account: $k8s_v2_account_name
test_namespace: $k8s_v2_account_namespaces
kube_v2_gcs_test:
requires:
configuration:
k8s_v2_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_v2_account: $k8s_v2_account_name
test_namespace: $k8s_v2_account_namespaces
test_gcs_artifact_account: $artifact_gcs_account_name
test_gcs_bucket: $artifact_gcs_bucket
test_gcs_credentials_path: $artifact_gcs_credentials
kube_v2_helm_test:
requires:
configuration:
k8s_v2_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_v2_account: $k8s_v2_account_name
test_namespace: $k8s_v2_account_namespaces
test_gcs_artifact_account: $artifact_gcs_account_name
test_gcs_bucket: $artifact_gcs_bucket
test_gcs_credentials_path: $artifact_gcs_credentials
kube_v2_artifact_test:
requires:
configuration:
k8s_v2_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
spinnaker_kubernetes_v2_account: $k8s_v2_account_name
test_namespace: $k8s_v2_account_namespaces
aws_kato_test:
requires:
configuration:
aws_account_enabled: true
services: [clouddriver]
api: clouddriver
args:
alias: [standard_aws_provider_params]
aws_smoke_test:
requires:
configuration:
aws_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
alias: [standard_aws_provider_params]
azure_smoke_test:
requires:
configuration:
azure_account_enabled: true
services: [clouddriver, front50, gate, orca]
api: gate
args:
alias: [standard_azure_provider_params]
appengine_smoke_test_git:
requires:
configuration:
appengine_account_enabled: true
services: [clouddriver, front50, gate, orca]
path: citest/tests/appengine_smoke_test.py
api: gate
args:
alias: [standard_appengine_provider_params]
git_repo_url: https://github.com/GoogleCloudPlatform/python-docs-samples.git
app_directory_root: appengine/standard/hello_world
branch: master
test_appengine_region: $test_appengine_region
appengine_smoke_test_gcs:
requires:
configuration:
appengine_account_enabled: true
services: [clouddriver, front50, gate, orca]
path: citest/tests/appengine_smoke_test.py
api: gate
args:
alias: [standard_appengine_provider_params]
git_repo_url: https://github.com/GoogleCloudPlatform/python-docs-samples.git
app_directory_root: appengine/standard/hello_world
test_gcs_bucket: $storage_gcs_bucket
branch: master
test_appengine_region: $test_appengine_region
appengine_gcs_pubsub_test:
requires:
configuration:
appengine_account_enabled: true
gcs_pubsub_enabled: true
pubsub_google_enabled: true
services: [clouddriver, front50, gate, orca, echo]
api: gate
args:
alias: [standard_appengine_provider_params]
app_directory_root: appengine/standard/hello_world
branch: master
git_repo_url: https://github.com/GoogleCloudPlatform/python-docs-samples.git
test_gcs_bucket: $gcs_pubsub_bucket
test_storage_account_name: $artifact_gcs_account_name
test_subscription_name: $pubsub_google_name
dcos_smoke_test:
requires:
configuration:
dcos_account_enabled: true
services: [clouddriver, front50, gate, orca]
path: citest/tests/dcos_smoke_test.py
api: gate
args:
alias: [standard_dcos_provider_params]
# Add openstack_smoke_test
# need to add config support first