From ff36c03b868941e38791d23aed09144d8c5410a2 Mon Sep 17 00:00:00 2001 From: Nina Lee Date: Thu, 23 Jul 2026 12:53:32 -0500 Subject: [PATCH] ci: add main-branch DRA check for minor version-bump workflow Adds a generate-master-dra-check step (minor workflow only) that computes the next minor version and dynamically uploads a fetch-master-dra-artifacts step to poll master.json for {major}.{minor+1}.0-SNAPSHOT, confirming the main branch DRA build has picked up the new version. Co-Authored-By: Claude Sonnet 4.6 --- .buildkite/version_bump_pipeline.yml | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.buildkite/version_bump_pipeline.yml b/.buildkite/version_bump_pipeline.yml index 4ff01db1c3..3e9e34f931 100644 --- a/.buildkite/version_bump_pipeline.yml +++ b/.buildkite/version_bump_pipeline.yml @@ -74,3 +74,50 @@ steps: field: ".version" expected_value: "${NEW_VERSION}-SNAPSHOT" polling_interval: "30" + + - label: "Generate Fetch master DRA Artifacts step" + key: generate-master-dra-check + if: build.env("WORKFLOW") == "minor" + depends_on: fetch-dra-artifacts + agents: + image: docker.elastic.co/release-eng/wolfi-build-essential-release-eng:latest + cpu: 250m + memory: 512Mi + ephemeralStorage: 1Gi + command: | + IFS='.' read -r major minor patch <&2; exit 1 ;; + esac + done + next_main="$$major.$$((minor + 1)).0" + echo "Waiting for $$next_main-SNAPSHOT on master" + cat <