Skip to content
New issue

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

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

Already on GitHub? # to your account

Automate backports #336

Closed
carlosthe19916 opened this issue Feb 4, 2025 · 3 comments · Fixed by #341
Closed

Automate backports #336

carlosthe19916 opened this issue Feb 4, 2025 · 3 comments · Fixed by #341

Comments

@carlosthe19916
Copy link
Member

The main branch will continue to evolve while the branch release/0.2.z will serve the future downstream releases.

We need to set up basic automation for backporting changes between branches. Starting with something basic like https://github.com/korthout/backport-action would give us some benefits

@gildub
Copy link
Collaborator

gildub commented Feb 5, 2025

@carlosthe19916, being able to have PRs automatically backported using tags sounds good.
What we need to assess is if there are any risks of code automatically backported by "accident".
I suppose that goes along with how we monitor the process/results including when it fails.

@carlosthe19916
Copy link
Member Author

What I have in mind is:

  • Developer opens PR-X. If he wants to backport that PR once it is merged then he manually adds a label to the PR backport to release/0.2.z. So this is an intentional and manual thing.
  • Once the PR-X is merged then GH actions create a backport PR against release/0.2.z. This PR goes all the normal test process and eventually manually merged by someone

This process is a mainstream process IMHO.

This is a concrete example of a backport being done with automation konveyor/tackle2-ui#2083.

I don't see the risk of any accident to be honest.

@carlosthe19916
Copy link
Member Author

@gildub I created a PR that should cover this issue #341 . Please review it.

@carlosthe19916 carlosthe19916 linked a pull request Feb 11, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants