From 240324f730e9ab0358a299b4e07dadc74ce21481 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 30 Dec 2024 11:19:29 -0600 Subject: [PATCH] [8.16] [ci] Update VM cache for each ES snapshot (#205119) (#205180) #205119 --- .buildkite/scripts/steps/es_snapshots/promote.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.buildkite/scripts/steps/es_snapshots/promote.sh b/.buildkite/scripts/steps/es_snapshots/promote.sh index cf52f5e9ff650..2b85505619a95 100755 --- a/.buildkite/scripts/steps/es_snapshots/promote.sh +++ b/.buildkite/scripts/steps/es_snapshots/promote.sh @@ -17,3 +17,14 @@ if [[ "$BUILDKITE_BRANCH" == "main" ]]; then echo "--- Trigger agent packer cache pipeline" ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-agent-packer-cache main fi + +cat << EOF | buildkite-agent pipeline upload +steps: + - label: "Update cache for ES $BUILDKITE_BRANCH snapshot" + trigger: kibana-vm-images + async: true + build: + env: + IMAGES_CONFIG: "kibana/images.yml" + RETRY: "1" +EOF