-
Notifications
You must be signed in to change notification settings - Fork 0
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
Automatically manage pre-release branches #18
Conversation
397710f
to
6b98e4d
Compare
2874132
to
9ee419a
Compare
A k8s-snap PR automatically creates and cleans up git branches for upstream k8s pre-releases: canonical/k8s-snap#916 Here we're adding an almost identical job that picks up these git branches and prepares launchpad recipes. TODOs: * clean up obsolete pre-releases that were superseeded by a new pre-release or stable release * promote beta and rc pre-releases to the corresponding snap risk level
9ee419a
to
43c945c
Compare
We intend to publish snaps for pre-release branches, which have the following format: auotupdate/v1.33.0-alpha.1. In order to do so, we need to update the "TIP_BRANCH" regex, which is used to filter branches. We'll need to clarify what "TIP_BRANCH" means and add an inline comment.
9bcc19e
to
e2ac086
Compare
e2ac086
to
ee96d92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @petrutlucian94
Looks great already, only some small changes.
* use argparse * reneame k8s_releases.py -> k8s_release.py * move cleanup placeholder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c7f2428
to
e08351d
Compare
We'll use a single branch for all pre-releases of a given risk level, e.g. v1.33.0-alpha.0 -> autoupdate/v1.33.0-alpha. This commit also removes unused k8s_release.py functions that were inherited from the k8s-snap script.
e08351d
to
f4ef36f
Compare
@bschimke95 The promotion CI failures are unrelated, should we merge this PR to get it out the way? |
let's do this. |
A k8s-snap PR automatically creates and cleans up git branches for upstream k8s pre-releases:
canonical/k8s-snap#916
Here we're adding an almost identical job that picks up these git branches and prepares launchpad recipes.
TODOs: