Skip to content

Commit df9694e

Browse files
sharbuzv1v
andauthored
winlogbeat BK pipeline init (#37859)
* winlogbeat BK pipeline init * Update catalog-info.yaml Co-authored-by: Victor Martinez <[email protected]> --------- Co-authored-by: Victor Martinez <[email protected]>
1 parent 3912c08 commit df9694e

File tree

3 files changed

+68
-2
lines changed

3 files changed

+68
-2
lines changed

.buildkite/pull-requests.json

+16
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,22 @@
143143
"skip_target_branches": [ ],
144144
"skip_ci_on_only_changed": ["^x-pack/elastic-agent/README.md", "^x-pack/elastic-agent/docs/.*", "^x-pack/elastic-agent/devtools/.*" ],
145145
"always_require_ci_on_changed": ["^x-pack/elastic-agent/.*", ".buildkite/x-pack/elastic-agent/.*", "^go.mod", "^pytest.ini", "^dev-tools/.*", "^libbeat/.*", "^testing/.*"]
146+
},
147+
{
148+
"enabled": true,
149+
"pipelineSlug": "beats-winlogbeat",
150+
"allow_org_users": true,
151+
"allowed_repo_permissions": ["admin", "write"],
152+
"allowed_list": [ ],
153+
"set_commit_status": true,
154+
"build_on_commit": true,
155+
"build_on_comment": true,
156+
"trigger_comment_regex": "^/test winlogbeat$",
157+
"always_trigger_comment_regex": "^/test winlogbeat$",
158+
"skip_ci_labels": [ ],
159+
"skip_target_branches": [ ],
160+
"skip_ci_on_only_changed": [ ],
161+
"always_require_ci_on_changed": ["^winlogbeat/.*", ".buildkite/winlogbeat/.*", "^go.mod", "^pytest.ini", "^dev-tools/.*", "^libbeat/.*", "^testing/.*"]
146162
}
147163
]
148164
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2+
3+
steps:
4+
- label: "Example test"
5+
command: echo "Hello!"

catalog-info.yaml

+47-2
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,54 @@ spec:
413413
cancel_intermediate_builds: true
414414
cancel_intermediate_builds_branch_filter: "!main !7.17 !8.*"
415415
skip_intermediate_builds: true
416-
skip_intermediate_builds_branch_filter: "!main !7.17 !8.*"
416+
skip_intermediate_builds_branch_filter: "!main !7.17 !8.*"
417+
teams:
418+
ingest-fp:
419+
access_level: MANAGE_BUILD_AND_READ
420+
everyone:
421+
access_level: READ_ONLY
422+
423+
---
424+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
425+
apiVersion: backstage.io/v1alpha1
426+
kind: Resource
427+
metadata:
428+
name: buildkite-pipeline-beats-winlogbeat
429+
description: "Beats winlogbeat pipeline"
430+
links:
431+
- title: Pipeline
432+
url: https://buildkite.com/elastic/beats-winlogbeat
433+
434+
spec:
435+
type: buildkite-pipeline
436+
owner: group:ingest-fp
437+
system: buildkite
438+
implementation:
439+
apiVersion: buildkite.elastic.dev/v1
440+
kind: Pipeline
441+
metadata:
442+
name: beats-winlogbeat
443+
description: "Beats winlogbeat pipeline"
444+
spec:
445+
# branch_configuration: "main 7.17 8.*" TODO: temporarily commented to build PRs from forks
446+
pipeline_file: ".buildkite/winlogbeat/pipeline.winlogbeat.yml"
447+
# maximum_timeout_in_minutes: 120 TODO: uncomment when pipeline is ready
448+
provider_settings:
449+
build_pull_request_forks: false
450+
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
451+
build_tags: true
452+
filter_enabled: true
453+
filter_condition: >-
454+
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
455+
repository: elastic/beats
456+
cancel_intermediate_builds: true
457+
cancel_intermediate_builds_branch_filter: "!main !7.17 !8.*"
458+
skip_intermediate_builds: true
459+
skip_intermediate_builds_branch_filter: "!main !7.17 !8.*"
460+
# env:
461+
# ELASTIC_PR_COMMENTS_ENABLED: "true" TODO: uncomment when pipeline is ready
417462
teams:
418463
ingest-fp:
419464
access_level: MANAGE_BUILD_AND_READ
420465
everyone:
421-
access_level: READ_ONLY
466+
access_level: READ_ONLY

0 commit comments

Comments
 (0)