dra: support bumping releases minor/patch using the existing tools#18886
dra: support bumping releases minor/patch using the existing tools#18886v1v wants to merge 5 commits intoelastic:mainfrom
Conversation
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label. Could you fix it @v1v? 🙏
|
| workflow-file: "version_bumps.yml" | ||
| workflow-ref: "main" | ||
| workflow-inputs: | ||
| branch: "${BRANCH}" |
There was a problem hiding this comment.
@ninalee12 , what's the value for BRANCH when running:
- minor release for
main - patch releases for
8.19and9.x
There was a problem hiding this comment.
The values for minor flow would be the major.minor. So if 9.4.0 came out today, the branch would be 9.4. This is what I currently have implemented. Similar conversation here: https://elastic.slack.com/archives/C01DJ3DC0AX/p1773933668868239
As for the patch flow, if 9.3.3 release, the branch would be 9.3. It would be the same for 8.19.x, the branch would be 8.19
I hope this makes sense
💛 Build succeeded, but was flaky
Failed CI Steps |
| INPUTS_BUMP: "${{ inputs.bump }}" | ||
| BACKPORT_LABEL: "backport-${{ inputs.branch }}" | ||
| steps: | ||
| - name: Fetch logstash-core team member list |
There was a problem hiding this comment.
We don't need this safeguard, it's gonna be triggered by the automation.
donoghuc
left a comment
There was a problem hiding this comment.
I think there may be some confusion about what version_bumps.yml does. That is a workflow for bumping the vendored gem components we ship with logstash artifacts. We do that typically around feature freeze (or any time we want to do a gem update).
I'm a bit confused about how this plays in to the larger architecture here. I thought the context here was preparing DRA builds with new stack versions. For that we would use the bump-logstash.yml https://github.com/elastic/logstash/blob/main/.github/workflows/bump-logstash.yml workflow.
Is the intent here to trigger a workflow to bump vendored gems or logstash version?
|
@donoghuc , what's the current process for the bump automation then? I asked since I recall I touched Happy to redo the work and find a better approach |
|
The release related GHA are:
I was under the impression that the automation this is working on was for 2, not for 1. But that might be a hole in my understanding? |
This is about the release day! does Sorry for the misleading here |
Thanks for the clarification! Yes, bump_logstash.yml is the cannonical way for adjusting logstash versions. The inputs are: The new version and target branch are easy to comprehend/automate. The release track might be a bit more complex. It may be the case that we want to make that an optional parameter and just not adjust it if its not supplied. |
Release notes
[rn:skip]
What does this PR do?
Honour #18765 so it can run the existing release automation already implemented using GitHub actions (see https://github.com/elastic/logstash/blob/main/.github/workflows/version_bumps.yml).
In this case, we use a shell script to trigger the existing minor or patch github workflow based on the WORKFLOW env variable.
Use https://github.com/elastic/gh-cli-buildkite-plugin
Why is it important/What is the impact to the user?
Align with the automation the Platform Productivity Release team automation.
Checklist
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs