From f7b1d003a49d9104a2459235529e7e0ca09e6eb8 Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Thu, 14 Aug 2025 17:44:42 +0200 Subject: [PATCH 1/2] Switch to PR-based benchmark pipeline defined in ES repo --- .../pull-request/performance-benchmark.yml | 3 ++ .buildkite/pull-requests.json | 2 +- catalog-info.yaml | 36 +++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .buildkite/pipelines/pull-request/performance-benchmark.yml diff --git a/.buildkite/pipelines/pull-request/performance-benchmark.yml b/.buildkite/pipelines/pull-request/performance-benchmark.yml new file mode 100644 index 0000000000000..d0f1f9d3412db --- /dev/null +++ b/.buildkite/pipelines/pull-request/performance-benchmark.yml @@ -0,0 +1,3 @@ +steps: + - label: ":pipeline: TODO" + command: env diff --git a/.buildkite/pull-requests.json b/.buildkite/pull-requests.json index cd87f80375d85..9d383ddd72ddc 100644 --- a/.buildkite/pull-requests.json +++ b/.buildkite/pull-requests.json @@ -18,7 +18,7 @@ }, { "enabled": true, - "pipeline_slug": "elasticsearch-performance-esbench-pr", + "pipeline_slug": "elasticsearch-pull-request-performance-benchmark", "allow_org_users": true, "allowed_repo_permissions": [ "admin", diff --git a/catalog-info.yaml b/catalog-info.yaml index 0768e1670666f..9e98f56811220 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -301,3 +301,39 @@ spec: Daily: branch: main cronline: "@daily" +--- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json +apiVersion: backstage.io/v1alpha1 +kind: Resource +metadata: + name: buildkite-pipeline-elasticsearch-pull-request-performance-benchmark + description: Elasticsearch pull request performance benchmark + links: + - title: Pipeline + url: https://buildkite.com/elastic/elasticsearch-pull-request-performance-benchmark +spec: + type: buildkite-pipeline + system: buildkite + owner: group:elasticsearch-team + implementation: + apiVersion: buildkite.elastic.dev/v1 + kind: Pipeline + metadata: + description: ":elasticsearch: Runs performance benchmark in the PR context" + name: elasticsearch / pull-request / performance-benchmark + spec: + repository: elastic/elasticsearch + pipeline_file: .buildkite/pipelines/pull-request/performance-benchmark.yml + env: + ELASTIC_PR_COMMENTS_ENABLED: "true" + ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true" + SLACK_NOTIFICATIONS_CHANNEL: "#es-perf-build" + SLACK_NOTIFICATIONS_ALL_BRANCHES: "false" # TODO: change to true later + teams: + elasticsearch-team: {} + ml-core: {} + everyone: + access_level: BUILD_AND_READ + provider_settings: + build_pull_requests: true + trigger_mode: none From 95ca2f0bd2dfc8ecc4f6044c144de4efbb2b9376 Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Thu, 14 Aug 2025 21:32:48 +0200 Subject: [PATCH 2/2] Change placeholder command --- .buildkite/pipelines/pull-request/performance-benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipelines/pull-request/performance-benchmark.yml b/.buildkite/pipelines/pull-request/performance-benchmark.yml index d0f1f9d3412db..a08905513a37c 100644 --- a/.buildkite/pipelines/pull-request/performance-benchmark.yml +++ b/.buildkite/pipelines/pull-request/performance-benchmark.yml @@ -1,3 +1,3 @@ steps: - label: ":pipeline: TODO" - command: env + command: echo TODO