Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] ci(major-release): support run major release [0-9]+.0.0 (backport #15329) #15398

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 27, 2025

Motivation/summary

Support an automated process to create new major releases from main.

At the moment, we use 8.x for running minor releases, but we will eventually won't need to do that but run patch releases from 8.x and minor releases from main.

This is just an automated process to help with the major releases, it behaves as minor releases but with the difference in the branch where things should be branched off or the support for the changelog/mergify thingy.

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

Major release

Given this PR, let's run the major-release target using my forked repository for the hypothetical release of 9.0.0.

$ gh pr checkout 15329
$ export GITHUB_TOKEN=$(gh auth token)
$ make major-release RELEASE_VERSION=9.0.0 PROJECT_OWNER=v1v RELEASE_TYPE=major

It created two PRs:

and updated 9.0 -> main...v1v:apm-server:9.0

Minor release

Then I ran the same for a new minor release 8.19.0 - but i required to sync up 8.x

$ git checkout 8.x
$ git cherry-pick 4fb3bbaf749d93518bfae48dccb859d475107c09
$ gh pr checkout 15329
$ export GITHUB_TOKEN=$(gh auth token)
$ make minor-release RELEASE_VERSION=8.19.0 PROJECT_OWNER=v1v RELEASE_TYPE=minor

It created three PRs:

Related issues

Part of #13968


This is an automatic backport of pull request #15329 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner January 27, 2025 15:39
@mergify mergify bot added the backport label Jan 27, 2025
@mergify mergify bot assigned v1v Jan 27, 2025
@mergify mergify bot merged commit 25e7389 into 8.x Jan 27, 2025
19 checks passed
@mergify mergify bot deleted the mergify/bp/8.x/pr-15329 branch January 27, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant