Dependencies: Bump Go to v1.24.5

Resolves enterprise build failures caused by dependency cascade requiring Go 1.24.5.
Updates all workspace modules and build configuration for consistency.

- Update go.work, go.mod, and 29 workspace modules from Go 1.24.4 to Go 1.24.5
- Update Dockerfile: golang:1.24.4-alpine → golang:1.24.5-alpine
- Update Makefile and drone variables to Go 1.24.5
- Aligns with main branch (commit 52f6104230)
- Prevents GOTOOLCHAIN=local build failures in CI environments
- Tested: go mod tidy, workspace sync, and enterprise builds all work

Fixes issue where enterprise drone builds failed with:
'go: go.work requires go >= 1.24.5 (running go 1.24.4; GOTOOLCHAIN=local)'

Related to release-12.0.3 tagging requirements.
This commit is contained in:
jev forsberg 2025-07-23 10:39:46 -06:00
parent b6513f5273
commit 3574f03e54
No known key found for this signature in database
31 changed files with 31 additions and 31 deletions

View File

@ -1,6 +1,6 @@
module bra
go 1.24.4
go 1.24.5
tool github.com/unknwon/bra

View File

@ -1,6 +1,6 @@
module cog
go 1.24.4
go 1.24.5
tool github.com/grafana/cog/cmd/cli

View File

@ -1,6 +1,6 @@
module cue
go 1.24.4
go 1.24.5
tool cuelang.org/go/cmd/cue

View File

@ -1,6 +1,6 @@
module golangci-lint
go 1.24.4
go 1.24.5
tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint

View File

@ -1,6 +1,6 @@
module jb
go 1.24.4
go 1.24.5
tool github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb

View File

@ -1,6 +1,6 @@
module lefthook
go 1.24.4
go 1.24.5
tool github.com/evilmartians/lefthook

View File

@ -1,6 +1,6 @@
module swagger
go 1.24.4
go 1.24.5
tool github.com/go-swagger/go-swagger/cmd/swagger

View File

@ -6,7 +6,7 @@
ARG BASE_IMAGE=alpine:3.21
ARG JS_IMAGE=node:22-alpine
ARG JS_PLATFORM=linux/amd64
ARG GO_IMAGE=golang:1.24.4-alpine
ARG GO_IMAGE=golang:1.24.5-alpine
# Default to building locally
ARG GO_SRC=go-builder

View File

@ -8,7 +8,7 @@ WIRE_TAGS = "oss"
include .bingo/Variables.mk
GO = go
GO_VERSION = 1.24.4
GO_VERSION = 1.24.5
GO_LINT_FILES ?= $(shell ./scripts/go-workspace/golangci-lint-includes.sh)
GO_TEST_FILES ?= $(shell ./scripts/go-workspace/test-includes.sh)
SH_FILES ?= $(shell find ./scripts -name *.sh)

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/advisor
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.31.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/alerting/notifications
go 1.24.4
go 1.24.5
replace github.com/grafana/grafana => ../../..

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/dashboard
go 1.24.4
go 1.24.5
require (
cuelang.org/go v0.11.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/folder
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.35.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/investigations
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.35.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/apps/playlist
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana-app-sdk v0.35.1

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana
go 1.24.4
go 1.24.5
require (
buf.build/gen/go/parca-dev/parca/connectrpc/go v1.17.0-20240902100956-02fd72488966.1 // @grafana/observability-traces-and-profiling

View File

@ -1,4 +1,4 @@
go 1.24.4
go 1.24.5
// The `skip:golangci-lint` comment tag is used to exclude the package from the `golangci-lint` GitHub Action.
// The module at the root of the repo (`.`) is excluded because ./pkg/... is included manually in the `golangci-lint` configuration.

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/aggregator
go 1.24.4
go 1.24.5
require (
github.com/emicklei/go-restful/v3 v3.11.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/apimachinery
go 1.24.4
go 1.24.5
require (
github.com/grafana/authlib v0.0.0-20250325095148-d6da9c164a7d // @grafana/identity-access-team

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/apis/secret
go 1.24.4
go 1.24.5
require (
github.com/grafana/grafana/pkg/apimachinery v0.0.0-20250314071911-14e2784e6979

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/apiserver
go 1.24.4
go 1.24.5
require (
github.com/google/go-cmp v0.7.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/build
go 1.24.4
go 1.24.5
// Override docker/docker to avoid:
// go: github.com/drone-runners/drone-runner-docker@v1.8.2 requires

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/build/wire
go 1.24.4
go 1.24.5
require (
github.com/google/go-cmp v0.7.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/codegen
go 1.24.4
go 1.24.5
require (
cuelang.org/go v0.11.1

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/plugins/codegen
go 1.24.4
go 1.24.5
replace github.com/grafana/grafana/pkg/codegen => ../../codegen

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/promlib
go 1.24.4
go 1.24.5
require (
github.com/grafana/dskit v0.0.0-20241105154643-a6b453a88040

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/semconv
go 1.24.4
go 1.24.5
require go.opentelemetry.io/otel v1.36.0

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/storage/unified/apistore
go 1.24.4
go 1.24.5
replace (
github.com/grafana/grafana => ../../../..

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/storage/unified/resource
go 1.24.4
go 1.24.5
replace (
github.com/grafana/grafana/apps/folder => ../../../../apps/folder

View File

@ -1,6 +1,6 @@
module github.com/grafana/grafana/pkg/util/xorm
go 1.24.4
go 1.24.5
require (
cloud.google.com/go/spanner v1.76.1

View File

@ -3,7 +3,7 @@ global variables
"""
grabpl_version = "v3.1.2"
golang_version = "1.24.4"
golang_version = "1.24.5"
# nodejs_version should match what's in ".nvmrc", but without the v prefix.
nodejs_version = "22.16.0"