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

Automate backports #336

Open
carlosthe19916 opened this issue Feb 4, 2025 · 3 comments
Open

Automate backports #336

carlosthe19916 opened this issue Feb 4, 2025 · 3 comments

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.

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

No branches or pull requests

2 participants