mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
da0593bcf9
* add more improves for patch releases Signed-off-by: Johnatas <johnatas.santos@suse.com> * a simple detail Signed-off-by: Johnatas <johnatas.santos@suse.com> --------- Signed-off-by: Johnatas <johnatas.santos@suse.com>
2.8 KiB
2.8 KiB
K3S Release Process
Setup
Set up you environment per setup.
Generate New Tags for K3S-IO/Kubernetes Fork
- Generate specific environment variables per setup rc.
- Set up Kubernetes repos per setup k8s repos.
- Rebase your local copy to move the old k3s tag from the old k8s tag to the new k8s tag, per rebase.
- Build a custom container for generating tags, per build container.
- Run the tag script to generate tags in the build container, per tagging.
Update K3S
We made some new tags on the k3s-io/kubernetes repo, now we need to tell k3s to use them.
- If no milestones exist in the k3s repo for the releases, generate them, per milestones.
- Set up k3s repos per setup k3s repos.
- Generate a pull request to update k3s, per generate pull request.
Cut Release Candidate
- The first part of cutting a release (either an RC or a GA) is to create the release itself, per cut release.
- Then we need to update KDM, per update kdm.
- We check the release images, per release images.
- Then we need to update or generate the release notes, per release notes.
Create GA Release
After QA approves the release candidates you need to cut the "GA" release.
This will be tested one more time before the release is considered ready for finalization.
Follow the processes for an RC release:
Make sure you are in constant communication with QA during this time so that you can cut more RCs if necessary,
update KDM if necessary, radiate information to the rest of the team and help them in any way possible.
When QA approves the GA release you can move into the finalization phase.
Finalization
- Update the channel server, per channel server
- Copy the release notes into the release, make sure Release Notes already merged, per release notes
- CI has completed, and artifacts have been created. Announce the GA and inform that k3s is thawed in the Slack release thread.
- Wait 24 hours, then uncheck the pre-release checkbox on the release.
- Edit the release, and check the "set as latest release" checkbox on the "latest" release.
- only one release can be latest
- this will most likely be the patch for the highest/newest minor version
- check with QA for which release this should be