Skip to content

dra: support bumping releases minor/patch using the existing tools#20622

Open
v1v wants to merge 6 commits intomainfrom
feature/support-automation-for-dra-ff
Open

dra: support bumping releases minor/patch using the existing tools#20622
v1v wants to merge 6 commits intomainfrom
feature/support-automation-for-dra-ff

Conversation

@v1v
Copy link
Member

@v1v v1v commented Mar 10, 2026

Motivation/summary

Honour #20355 so it can run the existing release automation already implemented using GitHub actions.

How it works can be found at https://github.com/elastic/apm-server/blob/main/dev_docs/RELEASES.md

In this case, we use a shell script to trigger the existing minor or patch github workflow based on the version, if it ends with 0 is a new minor, otherwise it's a patch release.

Use https://github.com/elastic/gh-cli-buildkite-plugin

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

As part of the Unified Release Process

Related issues

Implementation details

I enabled the PR bump automation creation using the existing automation that relies on some GH actions and makefiles. It's not migrated to BK for various reasons:

  1. The existing automation has been there for quite some time.
  2. The APM Server team is familiar with the current automation and can act if needed.
  3. There is no easy support for GPG signing in Buildkite, while it's a requirement when pushing commits in this repository (verified commits branch protection).

@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify
Copy link
Contributor

mergify bot commented Mar 10, 2026

This pull request does not have a backport label. Could you fix it @v1v? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8.19 is the label to automatically backport to the 8.19 branch.
  • backport-9./d is the label to automatically backport to the 9./d branch. /d is the digit.
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@v1v v1v self-assigned this Mar 10, 2026
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
workflow-inputs:
version: "${NEW_VERSION}"

- block: "Ready to fetch for DRA artifacts?"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ninalee12 , I'd assume this is about once those PRs are merged, then this should be unblocked, for now manually, correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Victor, I think for now manually. 🤔

I'm assuming that after those PR steps are created + merged, the DRA artifacts would follow and be uploaded. Once that's completed, we can then unblock

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming that after those PR steps are created + merged, the DRA artifacts would follow and be uploaded

Correct, that's push-based and the DRA artifacts are generated as part of

---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-apm-server-package
description: Buildkite Pipeline for packaging the APM Server
links:
- title: Pipeline
url: https://buildkite.com/elastic/apm-server-package
spec:
type: buildkite-pipeline
owner: group:obs-ds-intake-services
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: apm-server-package
spec:
branch_configuration: "main 7.* 8.* 9.*"
repository: elastic/apm-server
pipeline_file: ".buildkite/package.yml"
provider_settings:
build_branches: true
build_pull_requests: true
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: "!main !8.* !9.*"
skip_intermediate_builds: true
skip_intermediate_builds_branch_filter: "!main !8.* !9.*"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for confirming 🙇

@v1v v1v marked this pull request as ready for review March 11, 2026 19:50
@v1v v1v requested a review from a team as a code owner March 11, 2026 19:50
@v1v v1v requested a review from a team March 12, 2026 07:28
Copy link
Contributor

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @v1v

Copy link
Member

@carsonip carsonip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants