forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog-info.yaml
537 lines (516 loc) · 18 KB
/
catalog-info.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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
# *************************************************************
# Declare Backstage Component that represents the Logstash tool
# *************************************************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: logstash
description: Logstash is a server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to your favorite "stash."
annotations:
backstage.io/source-location: url:https://github.com/elastic/logstash/
github.com/project-slug: elastic/logstash
github.com/team-slug: elastic/logstash
buildkite.com/project-slug: elastic/logstash
tags:
- logstash
- dra
links:
- title: Logstash
url: https://elastic.co/logstash
spec:
type: tool
owner: group:ingest-fp
system: platform-ingest
dependsOn:
- resource:buildkite-logstash-serverless-integration-testing
- resource:logstash-snyk-report
- logstash-dra-snapshot-pipeline
- logstash-dra-staging-pipeline
- logstash-linux-jdk-matrix-pipeline
- logstash-windows-jdk-matrix-pipeline
# ***********************************
# Declare serverless IT pipeline
# ***********************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-logstash-serverless-integration-testing
description: Buildkite pipeline for the Serverless Integration Test
spec:
type: buildkite-pipeline
owner: group:ingest-fp
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: logstash-serverless-integration-testing
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/serverless_integration_pipeline.yml"
maximum_timeout_in_minutes: 90
provider_settings:
trigger_mode: none # don't trigger jobs from github activity
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
schedules:
Daily serverless test on core_serverless_test branch:
branch: main
cronline: "@daily"
message: "Run the serverless integration test every day."
# ***********************************
# Declare snyk-repo pipeline
# ***********************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-snyk-report
description: 'The logstash-snyk-report pipeline.'
spec:
type: buildkite-pipeline
owner: group:ingest-fp
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: logstash-snyk-report-ci
description: ':logstash: The logstash-snyk-report :pipeline:'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/snyk_report_pipeline.yml"
maximum_timeout_in_minutes: 60
provider_settings:
trigger_mode: none # don't trigger jobs
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
schedules:
Daily Snyk scan:
branch: main
cronline: "@daily"
message: "Run the Logstash Snyk report every day."
# ***********************************
# SECTION START: DRA pipelines
# ***********************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-dra-snapshot-pipeline
description: 'Logstash DRA SNAPSHOT (Daily, Auto) pipeline'
links:
- title: 'Logstash DRA SNAPSHOT (Daily, Auto) pipeline'
url: https://buildkite.com/elastic/logstash-dra-snapshot-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: logstash-dra-snapshot-pipeline
description: ':logstash: The DRA SNAPSHOT (Daily, Auto) pipeline'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/dra_pipeline.yml"
maximum_timeout_in_minutes: 120
schedules:
Daily 7_17:
branch: '7.17'
cronline: 30 02 * * *
message: Daily SNAPSHOT build for 7.17
Daily 8_11:
branch: '8.11'
cronline: 30 02 * * *
message: Daily SNAPSHOT build for 8.11
Daily main:
branch: main
cronline: 30 02 * * *
message: Daily SNAPSHOT build for main
skip_intermediate_builds: true
provider_settings:
trigger_mode: none
env:
WORKFLOW_TYPE: 'snapshot'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-dra-staging-pipeline
description: 'Logstash DRA RELEASE (Staging) pipeline'
links:
- title: 'Logstash DRA RELEASE (Staging) pipeline'
url: https://buildkite.com/elastic/logstash-dra-staging-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: logstash-dra-staging-pipeline
description: ':logstash: The DRA RELEASE (Staging) pipeline'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/dra_pipeline.yml"
maximum_timeout_in_minutes: 120
skip_intermediate_builds: true
provider_settings:
trigger_mode: none
env:
WORKFLOW_TYPE: 'staging'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
# ***********************************
# SECTION END: DRA pipelines
# ***********************************
# ***********************************
# SECTION START: Pull requests
# ***********************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-pull-request-pipeline
description: 'Logstash Pull Request pipeline'
links:
- title: 'Logstash Pull Request pipeline'
url: https://buildkite.com/elastic/logstash-pull-request-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: logstash-pull-request-pipeline
description: ':logstash: Testing for Logstash Pull Requests'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/pull_request_pipeline.yml"
maximum_timeout_in_minutes: 120
provider_settings:
build_pull_request_forks: false
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
build_branches: false
build_tags: false
filter_enabled: true
filter_condition: >-
build.creator.name == 'elasticmachine' && build.pull_request.id != null
cancel_intermediate_builds: true
skip_intermediate_builds: true
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
# ***********************************
# SECTION END: Pull requests
# ***********************************
# *******************************
# SECTION START: aarch64 pipeline
# *******************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-aarch64-pipeline
description: 'Logstash aarch64 pipeline'
links:
- title: 'Logstash aarch64 pipeline'
url: https://buildkite.com/elastic/logstash-aarch64-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: "Logstash aarch64 pipeline"
description: ':logstash: Exhaustive tests for the aarch64 architecture'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/aarch64_pipeline.yml"
maximum_timeout_in_minutes: 90
provider_settings:
trigger_mode: none
cancel_intermediate_builds: true
skip_intermediate_builds: true
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
# *****************************
# SECTION END: aarch64 pipeline
# *****************************
# *************************************************************
# SECTION START: JDK matrix tests (Linux and Windows) pipelines
# *************************************************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-linux-jdk-matrix-pipeline
description: 'Logstash Linux JDK matrix pipeline'
links:
- title: 'Logstash Linux JDK matrix pipeline'
url: https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: "Logstash Linux JDK matrix pipeline"
description: ':java: :linux: Test Logstash against a matrix of JDKs and Linux Distributions'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/linux_jdk_matrix_pipeline.yml"
maximum_timeout_in_minutes: 120
provider_settings:
trigger_mode: none
cancel_intermediate_builds: true
skip_intermediate_builds: true
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
schedules:
Weekly 7_17:
branch: '7.17'
cronline: 0 1 * * 2
message: Weekly Linux JDK matrix tests for 7.17
Weekly 8_11:
branch: '8.11'
cronline: 0 1 * * 2
message: Weekly Linux JDK matrix tests for 8.11
Daily main:
branch: main
cronline: 0 1 * * 2
message: Weekly Linux JDK matrix tests for main
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-windows-jdk-matrix-pipeline
description: 'Logstash Windows JDK matrix pipeline'
links:
- title: 'Logstash Windows JDK matrix pipeline'
url: https://buildkite.com/elastic/logstash-windows-jdk-matrix-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: "Logstash Windows JDK matrix pipeline"
description: ':java: :windows: Test Logstash against a matrix of JDKs and Windows releases'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/windows_jdk_matrix_pipeline.yml"
maximum_timeout_in_minutes: 120
provider_settings:
trigger_mode: none
cancel_intermediate_builds: true
skip_intermediate_builds: true
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
schedules:
Weekly 7_17:
branch: '7.17'
cronline: 0 1 * * 2
message: Weekly Windows JDK matrix tests for 7.17
Weekly 8_11:
branch: '8.11'
cronline: 0 1 * * 2
message: Weekly Windows JDK matrix tests for 8.11
Daily main:
branch: main
cronline: 0 1 * * 2
message: Weekly Windows JDK matrix tests for main
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
# ***********************************************************
# SECTION END: JDK matrix tests (Linux and Windows) pipelines
# ***********************************************************
# ****************************************
# SECTION START: Exhaustive tests pipeline
# ****************************************
---
# yaml-language-server: $schema=# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-exhaustive-tests-pipeline
description: 'Logstash Exhaustive tests pipeline'
links:
- title: 'Logstash Exhaustive tests pipeline'
url: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: "Logstash Exhaustive tests pipeline"
description: '🔍 Run exhaustive tests against Logstash using different operating systems'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/exhaustive_tests_pipeline.yml"
provider_settings:
trigger_mode: none
cancel_intermediate_builds: true
skip_intermediate_builds: true
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'false' # disable during development
SLACK_NOTIFICATIONS_CHANNEL: '#logstash-build'
SLACK_NOTIFICATIONS_ON_SUCCESS: 'false'
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
# **************************************
# SECTION END: Exhaustive tests pipeline
# **************************************
# ********************************************
# Declare supported plugin tests pipeline
# ********************************************
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: logstash-supported-plugins-test-pipeline
description: "Execute spec tests af all supported tier1 and tier2 plugins using the current branch's Logstash"
links:
- title: 'Logstash supported plugins test pipeline'
url: https://buildkite.com/elastic/logstash-supported-plugins-test-pipeline
spec:
type: buildkite-pipeline
owner: group:logstash
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: 'Logstash supported plugins test pipeline'
description: ':logstash: Supported plugins test pipeline'
spec:
repository: elastic/logstash
pipeline_file: ".buildkite/supported_plugins_test_pipeline.yml"
maximum_timeout_in_minutes: 90
skip_intermediate_builds: true
provider_settings:
trigger_mode: none
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
logstash:
access_level: MANAGE_BUILD_AND_READ
ingest-eng-prod:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY