From 39bf855bddbd04e221c8973fb91db90944b25540 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:38:07 +0100 Subject: [PATCH] [8.14] [CI] Prevent duplicate serverless image build (#186164) (#186805) # Backport This will backport the following commits from `main` to `8.14`: - [[CI] Prevent duplicate serverless image build (#186164)](https://github.com/elastic/kibana/pull/186164) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Alex Szabo --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 7f562a477364e..5a49a3e9e073d 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -147,6 +147,8 @@ const getPipeline = (filename: string, removeSteps = true) => { GITHUB_PR_LABELS.includes('ci:project-deploy-security') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/deploy_project.yml')); + } else if (GITHUB_PR_LABELS.includes('ci:build-serverless-image')) { + pipeline.push(getPipeline('.buildkite/pipelines/pull_request/build_project.yml')); } if (GITHUB_PR_LABELS.includes('ci:build-serverless-image')) {