Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion .buildkite/pipeline.version-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,45 @@ notify:
if: build.state == "blocked"

steps:
# TODO: replace this block step by real version bump logic
# Phase 3: trigger ingest-dev release automation for this repository only.
# Orchestrator env: NEW_VERSION, BRANCH, REPO, WORKFLOW (patch|minor|major).
- trigger: ingest-dev-pipeline-release-minor-major
key: bump-version-minor-major
label: ":rocket: Trigger ingest-dev minor/major release"
if: build.env("WORKFLOW") == "minor" || build.env("WORKFLOW") == "major"
build:
branch: "main"
message: "Version bump fleet-server to ${NEW_VERSION} (${WORKFLOW})"
env:
REPOSITORY: "fleet-server"
RELEASE_TYPE: "${WORKFLOW}"
CURRENT_RELEASE: "${NEW_VERSION}"
DRY_RUN: "false"
Comment thread
fr4nc1sc0-r4m0n marked this conversation as resolved.
Outdated
DISABLE_DEV_ISSUE: "true"
DISABLE_NOTIFICATIONS: "false"
DISABLE_BRANCH_CREATION: "false"
DISABLE_PREPARE_NEXT: "false"
REVIEWERS: "elastic/elastic-agent-release"
DEV_ISSUE_URL: "https://github.com/elastic/dev/issues/0"

- trigger: ingest-dev-pipeline-release-patch
key: bump-version-patch
label: ":rocket: Trigger ingest-dev patch release"
if: build.env("WORKFLOW") == "patch"
build:
branch: "main"
message: "Version bump fleet-server to ${NEW_VERSION} (patch)"
env:
REPOSITORY: "fleet-server"
CURRENT_RELEASE: "${NEW_VERSION}"
DRY_RUN: "false"
DISABLE_DEV_ISSUE: "true"
DISABLE_NOTIFICATIONS: "false"
DISABLE_RELEASE_PREPARE: "false"
DISABLE_PREPARE_NEXT: "false"
REVIEWERS: "elastic/elastic-agent-release"
DEV_ISSUE_URL: "https://github.com/elastic/dev/issues/0"

- block: "Ready to fetch for DRA artifacts?"
prompt: |
Unblock when your team is ready to proceed.
Expand Down
Loading