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

Release 2.10 #5849

Closed
31 of 32 tasks
colega opened this issue Aug 28, 2023 · 3 comments
Closed
31 of 32 tasks

Release 2.10 #5849

colega opened this issue Aug 28, 2023 · 3 comments
Labels
release Release process

Comments

@colega
Copy link
Contributor

colega commented Aug 28, 2023

This issue is tracking the progress of the release 2.10.0. The release candidate is scheduled for the week of August 28th 2023.

Publish the release candidate

  • Begin drafting the release notes
    • Create the release notes PR targeting the main branch
    • This step shouldn't block from publishing release candidate
    • After the release notes PR is merged (which usually happen after RC is published), cherry-pick them into the release branch
  • Wait for any open PR we want to get merged before cutting the release candidate
  • Update CHANGELOG.md: Prepare Release 2.10-rc.0 CHANGELOG.md #5856
    • Run ./tools/release/check-changelog.sh LAST-RELEASE-TAG...main and add missing PRs to CHANGELOG
    • Ensure CHANGELOG entries are sorted by type
    • Add a new section for the new release so that ## main / unreleased is blank and at the top. The new section should say ## x.y.0-rc.0.
  • Run ./tools/release/notify-changelog-cut.sh
  • Run make mixin-screenshots
    • Before opening the PR, review all updated screenshots and ensure no sensitive data is disclosed
  • Create new release branch
    • Create the branch
      git checkout r<xxx> # xxx is the latest weekly release
      git checkout -b release-<version>
      git push -u origin release-<version>
    • Remove "main / unreleased" section from the CHANGELOG
  • Publish the Mimir release candidate
    • Update VERSION in the release branch and update CHANGELOG with version and release date.
      • Keep in mind this is a release candidate, so the version string in VERSION and CHANGELOG must end in -rc.#, where # is the release candidate number, starting at 0.
    • Tag the release
      git checkout release-<version>
      ./tools/release/tag-release.sh
    • Wait until the CI pipeline succeeds
    • Create a pre-release on GitHub
      git checkout release-<version>
      ./tools/release/create-draft-release.sh
    • Merge the release branch release- into main
      ./tools/release/create-pr-to-merge-release-branch-to-main.sh
    • Publish the Github pre-release draft after getting review from at least one maintainer
    • Announce the release candidate on social media such as on Mimir community slack using your own Twitter, Mastodon or LinkedIn account
  • Vendor the release commit of Mimir into Grafana Enterprise Metrics (GEM)
    • This is addressed by Grafana Labs

Publish the stable release

  • Publish the Mimir stable release
    • Write release notes
      • Ensure the any change to release notes in main has been cherry picked to the release branch
    • Update version in release- branch
      • VERSION
      • CHANGELOG
      • operations/mimir/images.libsonnet (_images.mimir and _images.query_tee fields)
      • operations/mimir-rules-action/Dockerfile (grafana/mimirtool image tag)
    • Tag the release
      git checkout release-<version>
      ./tools/release/tag-release.sh
    • Wait until the CI pipeline succeeds
    • Create a release on GitHub
      git checkout release-<version>
      ./tools/release/create-draft-release.sh
    • Merge the release branch release- into main
      ./tools/release/create-pr-to-merge-release-branch-to-main.sh
    • Announce the release on socials
    • Open a PR to add the new version to the backward compatibility integration test (integration/backward_compatibility_test.go)
    • Publish dashboards to grafana.com
@colega colega added the release Release process label Aug 28, 2023
@colega colega self-assigned this Aug 28, 2023
colega added a commit that referenced this issue Aug 29, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit that referenced this issue Aug 29, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit that referenced this issue Aug 29, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
(cherry picked from commit 0d87de7)
colega added a commit that referenced this issue Aug 29, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
(cherry picked from commit 0d87de7)
@colega
Copy link
Contributor Author

colega commented Sep 19, 2023

2.10 was successfully released 👏

@colega colega closed this as completed Sep 19, 2023
@colega colega mentioned this issue Oct 11, 2023
3 tasks
@colega
Copy link
Contributor Author

colega commented Oct 11, 2023

Reopening to release 2.10.1

@colega
Copy link
Contributor Author

colega commented Nov 13, 2023

We need to release 2.10.4 with #6398 CVE fix.

colega added a commit that referenced this issue Nov 13, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit that referenced this issue Nov 13, 2023
Ref: #5849

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
@colega colega removed their assignment Apr 8, 2024
@colega colega closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release process
Projects
None yet
Development

No branches or pull requests

1 participant