mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* bumping grafanas go version to 1.21.5 * adding how to upgrade go doc * removing the whole ci-build and corresponding pipelines * clarifying that we have to run make drone * fixing starlark linter and removing unused code * Adding note about enterprise * trying to change the underyling image to avoid musl issues * only need to golang one
1.2 KiB
1.2 KiB
Upgrading Go Version
Notes on upgrading Go version.
Example PR: https://github.com/grafana/grafana/pull/79329
The main areas that need to change during the upgrade are:
Make sure to run make drone
so that changes to .star
files are reflected and drone.yml
is generated.
Additional files to change
- Take a look in
.github/workflows
folder for whatgo
version is being used there in various workflows. - Make sure to create a PR with the corresponding changes in
grafana/grafana-enterprise
repository.
Updating the go.mod file
Please avoid updating the go.mod
to the newest version unless really necessary. This ensures backwards compatibility and introduces less breaking changes. Always upgrade Go version in the runtime files above first, let them run for a couple of weeks and only then consider updating the go.mod
file if necessary.