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

Need to create a release-1.31 track #666

Closed
33 of 34 tasks
addyess opened this issue Sep 13, 2024 · 5 comments
Closed
33 of 34 tasks

Need to create a release-1.31 track #666

addyess opened this issue Sep 13, 2024 · 5 comments
Assignees

Comments

@addyess
Copy link
Contributor

addyess commented Sep 13, 2024

Summary

Make sure to follow the steps below and ensure all actions are completed and signed-off by one team member.

Information

  • K8s version: 1.xx

Actions

The steps are to be followed in-order, each task must be completed by the person specified in bold. Do not perform any steps unless all previous ones have been signed-off. The Reviewer closes the issue once all steps are complete.

  • Owner: Add the assignee and reviewer as assignees to the GitHub issue

  • Owner: Ensure that you are part of the "containers" team

  • Owner: Request a new 1.xx Snapstore track for the snaps similar to the snapstore track-request.

    • Post template on https://discourse.charmhub.io/

      Title: Request for 1.xx tracks for the k8s snap

      Category: store-requests

      Body:

      Hi,

      Could we please have a track "1.xx-classic" and "1.xx" for the respective K8s snap release?

      Thank you, $name

  • Owner: Create release-1.xx branch from latest main

    • git switch main
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
  • Owner: Create release-1.xx branch from latest master in k8s-dqlite

    • git clone [email protected]:canonical/k8s-dqlite.git ~/tmp/release-1.xx
    • pushd ~/tmp/release-1.xx
    • git switch master
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
    • popd
    • rm -rf ~/tmp/release-1.xx
  • Owner: Create release-1.xx branch from latest main in cilium-rocks

    • git clone [email protected]:canonical/cilium-rocks.git ~/tmp/release-1.xx
    • pushd ~/tmp/release-1.xx
    • git switch main
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
    • popd
    • rm -rf ~/tmp/release-1.xx
  • Owner: Create release-1.xx branch from latest main in coredns-rock

    • git clone [email protected]:canonical/coredns-rock.git ~/tmp/release-1.xx
    • pushd ~/tmp/release-1.xx
    • git switch main
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
    • popd
    • rm -rf ~/tmp/release-1.xx
  • Owner: Create release-1.xx branch from latest main in metrics-server-rock

    • git clone [email protected]:canonical/metrics-server-rock.git ~/tmp/release-1.xx
    • pushd ~/tmp/release-1.xx
    • git switch main
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
    • popd
    • rm -rf ~/tmp/release-1.xx
  • Owner: Create release-1.xx branch from latest main in rawfile-localpv

    • git clone [email protected]:canonical/rawfile-localpv.git ~/tmp/release-1.xx
    • pushd ~/tmp/release-1.xx
    • git switch rockcraft
    • git pull
    • git checkout -b release-1.xx
    • git push origin release-1.xx
    • popd
    • rm -rf ~/tmp/release-1.xx
  • Reviewer: Ensure release-1.xx branch is based on latest changes on main at the time of the release cut.

  • Owner: Create PR to initialize release-1.xx branch:

  • Reviewer: Review and merge PR to initialize branch.

  • Owner: Create PR to initialize update-components.yaml job for release-1.xx branch:

    • Add release-1.xx in .github/workflows/update-components.yaml
    • Remove unsupported releases from the list (if applicable, consult with Reviewer)
    • Create PR against main with the changes and request review from Reviewer. Make sure to update the issue information with a link to the PR.
  • Reviewer: On merge, confirm Auto-update strict branch action runs to completion and that the autoupdate/release-1.xx-* flavor branches are created.

    • autoupdate/release-1.xx-strict
    • autoupdate/release-1.xx-moonray
  • Owner: Create launchpad builders for release-1.xx and flavors

  • Reviewer: Ensure snap recipes are created in lp:k8s/+snaps

    • look for k8s-snap-1.xx-classic
    • look for k8s-snap-1.xx-strict
    • look for k8s-snap-1.xx-moonray
    • make sure each is "Authorized for Store Upload"

After release

  • Owner follows up with the Reviewer and team about things to improve around the process.
  • Owner: After a few weeks of stable CI, update default track to 1.xx/stable via
    • On the snap [releases page][], select Track > 1.xx
  • Reviewer: Ensure snap recipes are created in lp:k8s/+snaps
@bschimke95 bschimke95 self-assigned this Sep 17, 2024
@addyess
Copy link
Contributor Author

addyess commented Sep 17, 2024

I want to update this issue template once we complete it.

@bschimke95
Copy link
Contributor

bschimke95 commented Sep 17, 2024

For the new template:
The "Reviewer: Ensure snap recipes are created in 'lp:k8s/+snaps'" check is listed twice (in Actions and in Post Release)

@bschimke95
Copy link
Contributor

LGTM, issue can be closed (check After a few weeks of stable CI, update default track to 1.xx/stable via... is currently not applicable because we don't have a stable release yet)

@addyess
Copy link
Contributor Author

addyess commented Sep 17, 2024

Thanks Ben.... I appreciate it. Let's close when #677 is merged

@addyess
Copy link
Contributor Author

addyess commented Sep 17, 2024

I want to update this issue template once we complete it.

@addyess addyess closed this as completed Sep 17, 2024
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