Skip to content

Commit 4c09fd1

Browse files
authored
Switch to PR-based benchmark pipeline defined in ES repo (#132941)
1 parent c9b45d8 commit 4c09fd1

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
steps:
2+
- label: ":pipeline: TODO"
3+
command: echo TODO

.buildkite/pull-requests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
{
2020
"enabled": true,
21-
"pipeline_slug": "elasticsearch-performance-esbench-pr",
21+
"pipeline_slug": "elasticsearch-pull-request-performance-benchmark",
2222
"allow_org_users": true,
2323
"allowed_repo_permissions": [
2424
"admin",

catalog-info.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,39 @@ spec:
301301
Daily:
302302
branch: main
303303
cronline: "@daily"
304+
---
305+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
306+
apiVersion: backstage.io/v1alpha1
307+
kind: Resource
308+
metadata:
309+
name: buildkite-pipeline-elasticsearch-pull-request-performance-benchmark
310+
description: Elasticsearch pull request performance benchmark
311+
links:
312+
- title: Pipeline
313+
url: https://buildkite.com/elastic/elasticsearch-pull-request-performance-benchmark
314+
spec:
315+
type: buildkite-pipeline
316+
system: buildkite
317+
owner: group:elasticsearch-team
318+
implementation:
319+
apiVersion: buildkite.elastic.dev/v1
320+
kind: Pipeline
321+
metadata:
322+
description: ":elasticsearch: Runs performance benchmark in the PR context"
323+
name: elasticsearch / pull-request / performance-benchmark
324+
spec:
325+
repository: elastic/elasticsearch
326+
pipeline_file: .buildkite/pipelines/pull-request/performance-benchmark.yml
327+
env:
328+
ELASTIC_PR_COMMENTS_ENABLED: "true"
329+
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
330+
SLACK_NOTIFICATIONS_CHANNEL: "#es-perf-build"
331+
SLACK_NOTIFICATIONS_ALL_BRANCHES: "false" # TODO: change to true later
332+
teams:
333+
elasticsearch-team: {}
334+
ml-core: {}
335+
everyone:
336+
access_level: BUILD_AND_READ
337+
provider_settings:
338+
build_pull_requests: true
339+
trigger_mode: none

0 commit comments

Comments
 (0)