File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ IMG ?= controller:latest
5555# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5656ENVTEST_K8S_VERSION = 1.30.0
5757
58+ # Force Go toolchain version to prevent automatic selection issues
59+ # See: https://go.dev/doc/toolchain
60+ export GOTOOLCHAIN = go1.22.12
61+
5862# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
5963ifeq (,$(shell go env GOBIN) )
6064GOBIN =$(shell go env GOPATH) /bin
@@ -211,7 +215,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
211215# # Tool Versions
212216KUSTOMIZE_VERSION ?= v5.4.2
213217CONTROLLER_TOOLS_VERSION ?= v0.15.0
214- ENVTEST_VERSION ?= release-0.18
218+ ENVTEST_VERSION ?= release-0.19
215219GOLANGCI_LINT_VERSION ?= v1.59.1
216220
217221.PHONY : kustomize
Original file line number Diff line number Diff line change 11module github.com/scality/metalk8s/operator
22
33go 1.22.0
4+ toolchain go1.22.12
45
56require (
67 github.com/go-logr/logr v1.4.1
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ IMG ?= controller:latest
5555# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5656ENVTEST_K8S_VERSION = 1.30.0
5757
58+ # Force Go toolchain version to prevent automatic selection issues
59+ # See: https://go.dev/doc/toolchain
60+ export GOTOOLCHAIN = go1.22.12
61+
5862# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
5963ifeq (,$(shell go env GOBIN) )
6064GOBIN =$(shell go env GOPATH) /bin
@@ -211,7 +215,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
211215# # Tool Versions
212216KUSTOMIZE_VERSION ?= v5.4.2
213217CONTROLLER_TOOLS_VERSION ?= v0.15.0
214- ENVTEST_VERSION ?= release-0.18
218+ ENVTEST_VERSION ?= release-0.19
215219GOLANGCI_LINT_VERSION ?= v1.59.1
216220
217221.PHONY : kustomize
Original file line number Diff line number Diff line change 11module github.com/scality/metalk8s/storage-operator
22
33go 1.22.0
4+ toolchain go1.22.12
45
56require (
67 github.com/go-logr/logr v1.4.1
You can’t perform that action at this time.
0 commit comments