File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ GOLANGCI_LINT_VERSION ?= v2.4.0
2424
2525# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
2626ENVTEST_K8S_VERSION = 1.31
27+ SETUP_ENVTEST_VERSION ?= release-0.22
2728
2829# Number of CPUs to be allocacted for testing
2930PROCS? =$(shell expr $(shell nproc --ignore 2) / 2)
@@ -90,7 +91,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
9091.PHONY : envtest
9192envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
9293$(ENVTEST ) : $(LOCALBIN )
93- GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
94+ GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETUP_ENVTEST_VERSION )
9495
9596.PHONY : ginkgo
9697ginkgo : $(GINKGO ) # # Download ginkgo locally if necessary.
You can’t perform that action at this time.
0 commit comments