@@ -54,7 +54,7 @@ OPERATOR_SDK_VERSION ?= v1.31.0
5454DEFAULT_IMG ?= quay.io/openstack-k8s-operators/keystone-operator:latest
5555IMG ?= $(DEFAULT_IMG )
5656# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
57- ENVTEST_K8S_VERSION = 1.29
57+ ENVTEST_K8S_VERSION = 1.31
5858
5959# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6060ifeq (,$(shell go env GOBIN) )
@@ -116,9 +116,10 @@ tidy: ## Run go mod tidy on every mod file in the repo
116116 go mod tidy
117117 cd ./api && go mod tidy
118118
119+ GOLANGCI_LINT_VERSION ?= v2.4.0
119120.PHONY : golangci-lint
120121golangci-lint :
121- test -s $(LOCALBIN ) /golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.59.1
122+ test -s $(LOCALBIN ) /golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $( GOLANGCI_LINT_VERSION )
122123 $(LOCALBIN ) /golangci-lint run --fix --verbose
123124
124125PROCS? =$(shell expr $(shell nproc --ignore 2) / 2)
@@ -206,8 +207,8 @@ GINKGO ?= $(LOCALBIN)/ginkgo
206207
207208# # Tool Versions
208209KUSTOMIZE_VERSION ?= v3.8.7
209- CONTROLLER_TOOLS_VERSION ?= v0.14 .0
210- GOTOOLCHAIN_VERSION ?= go1.21 .0
210+ CONTROLLER_TOOLS_VERSION ?= v0.18 .0
211+ GOTOOLCHAIN_VERSION ?= go1.24 .0
211212
212213KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
213214.PHONY : kustomize
@@ -228,7 +229,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
228229.PHONY : envtest
229230envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
230231$(ENVTEST ) : $(LOCALBIN )
231- test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@c7e1dc9b
232+ test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
232233
233234.PHONY : ginkgo
234235ginkgo : $(GINKGO ) # # Download ginkgo locally if necessary.
0 commit comments