Skip to content

Commit f309952

Browse files
mauri870mergify[bot]
authored andcommitted
fix(ci): restore agentbeat pipeline in catalog-info.yaml (#48367)
This pipeline was removed as part of #48147. Agentbeat is intended to be removed from 9.3 onwards, but the other supported version branches still rely on it. (cherry picked from commit fbef8de)
1 parent 424310d commit f309952

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

catalog-info.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,55 @@ spec:
10341034
everyone:
10351035
access_level: BUILD_AND_READ
10361036

1037+
# TODO: Remove the following pipeline once agentbeat is no longer required by any supported version.
1038+
---
1039+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
1040+
apiVersion: backstage.io/v1alpha1
1041+
kind: Resource
1042+
metadata:
1043+
name: buildkite-pipeline-beats-xpack-agentbeat
1044+
description: "Beats x-pack agentbeat pipeline"
1045+
links:
1046+
- title: Pipeline
1047+
url: https://buildkite.com/elastic/beats-xpack-agentbeat
1048+
1049+
spec:
1050+
type: buildkite-pipeline
1051+
owner: group:ingest-fp
1052+
system: platform-ingest
1053+
implementation:
1054+
apiVersion: buildkite.elastic.dev/v1
1055+
kind: Pipeline
1056+
metadata:
1057+
name: beats-xpack-agentbeat
1058+
description: "Beats x-pack agentbeat pipeline"
1059+
spec:
1060+
# branch_configuration: "main 8.*" #TODO: uncomment after tests
1061+
pipeline_file: ".buildkite/x-pack/pipeline.xpack.agentbeat.yml"
1062+
maximum_timeout_in_minutes: 120
1063+
provider_settings:
1064+
trigger_mode: none # don't trigger jobs from github activity
1065+
build_pull_request_forks: false
1066+
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
1067+
build_tags: true
1068+
filter_enabled: true
1069+
filter_condition: >-
1070+
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
1071+
repository: elastic/beats
1072+
cancel_intermediate_builds: true
1073+
cancel_intermediate_builds_branch_filter: "!main !8.* !9.*"
1074+
skip_intermediate_builds: true
1075+
skip_intermediate_builds_branch_filter: "!main !8.* !9.*"
1076+
env:
1077+
# TODO set to true once https://github.com/elastic/ingest-dev/issues/3001 has been resolved
1078+
ELASTIC_PR_COMMENTS_ENABLED: "false"
1079+
teams:
1080+
ingest-fp:
1081+
access_level: MANAGE_BUILD_AND_READ
1082+
everyone:
1083+
access_level: BUILD_AND_READ
1084+
1085+
10371086
---
10381087
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
10391088
apiVersion: backstage.io/v1alpha1

0 commit comments

Comments
 (0)