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

v1.14.0-snapshot.0 release #94

Closed
32 of 37 tasks
joestringer opened this issue Feb 28, 2023 · 0 comments
Closed
32 of 37 tasks

v1.14.0-snapshot.0 release #94

joestringer opened this issue Feb 28, 2023 · 0 comments

Comments

@joestringer
Copy link
Member

joestringer commented Feb 28, 2023

Setup preparation

  • Depending on your OS, make sure Docker is running
  • Export a GITHUB_TOKEN that has access to the repository
  • Make sure a setup (GPG, SSH, S/MIME) is in place for signing tags with Git
  • Make sure the GOPATH environment variable is set and pointing to the relevant path
  • Make sure the Cilium helm charts repository is installed locally:
    • Run git clone https://github.com/cilium/charts.git "$GOPATH/src/github.com/cilium/charts"

Pre-release

  • Announce in Cilium slack channel #launchpad: Starting v1.14.0-snapshot.0 release process :ship:
  • Create a thread for that message and ping current top-hat to not merge any
    PRs until the release process is complete.
  • Change directory to the local copy of Cilium repository.
  • Check that there are no release blockers for the targeted release version
  • Push a PR including the changes necessary for the new release:
    • Run ./contrib/release/start-release.sh v1.14.0-snapshot.0
      Note that this script produces some files at the root of the Cilium
      repository, and that these files are required at a later step for
      tagging the release.
    • Fix any duplicate AUTHORS entries and verify if it is possible to
      get the real names instead of GitHub usernames.
    • Commit the AUTHORS as well as the documentation files changed by the
      previous step with title update AUTHORS and Documentation.
    • Change install/kubernetes/Makefile.values with the instructions
      available in that document.
    • Run make -C install/kubernetes
    • Add the generated CHANGELOG.md file and commit all remaining changes
      with the title Prepare for release v1.14.0-snapshot.0
    • Submit PR (contrib/release/submit-release.sh)
    • Allow the CI to sanity-check the PR (GitHub actions are enough) and get
      review.
      Note that it's likely that the "helm-charts" will fail since the GH
      action regenerates the helm values file without understanding that
      it's a release.
    • Revert the release commit and re-push
  • Merge PR Prepare for release v1.14.0-snapshot.0 cilium#24091
  • Ping current top-hat that PRs can be merged again.
  • Create and push both tags to GitHub (v1.14.0-snapshot.0, X.Y.Z-rcW)
    • Pull latest branch locally.
    • Check out the commit before the revert and run contrib/release/tag-release.sh
      against that commit.
  • Ask a maintainer to approve the build in the following link:
    Cilium Image Release builds
    • Check if all docker images are available before announcing the release:
      make -C install/kubernetes/ RELEASE=yes CILIUM_BRANCH=master check-docker-images
  • Update helm charts
    • Create helm charts artifacts in Cilium charts repository using
      cilium helm release tool for the v1.14.0-snapshot.0 release and push
      these changes into the helm repository. Make sure the generated helm
      charts point to the commit that was tagged.
    • Check the output of the chart workflow and see if the test was
      successful.
  • Check read the docs configuration:
    • Docs build on RTD was broken recently, skipping
    • Set a new build as active and hidden in active versions.
    • Deactivate previous RCs.
    • Update algolia configuration search in docsearch-scraper-webhook.
      • Update the versions in docsearch.config.json, commit them and push a trigger the workflow here
  • Check draft release from releases page
    • Update the text at the top with 2-3 highlights of the release
    • Mark the checkbox of "This is a pre-release"
    • Publish the release
  • Announce the release in #general on Slack.
    Text template for the first RC:
*Announcement* :tada: :tada:

:cilium-new: *Cilium release candidate v1.14.0-snapshot.0 has been released:*
https://github.com/cilium/cilium/releases/tag/v1.14.0-snapshot.0

This is the first monthly snapshot for the v1.14 development cycle. There are [v1.14.0-snapshot.0 OSS docs](https://docs.cilium.io/en/v1.14.0-snapshot.0) available if you want to pull this version & try it out.

Text template for the next RCs:

*Announcement* :tada: :tada:

:cilium-new: *Cilium release candidate v1.14.0-snapshot.0 has been released:*
https://github.com/cilium/cilium/releases/tag/v1.14.0-snapshot.0

Thank you for the testing and contributing to the previous snapshot releases. There are [v1.14.0-snapshot.0 OSS docs](https://docs.cilium.io/en/v1.14.0-snapshot.0) available if you want to pull this version & try it out.
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

1 participant