Skip to content

Commit b5208bc

Browse files
authored
Merge pull request #653 from stuggi/setup_env_022
Use [email protected]
2 parents b786c86 + 156e199 commit b5208bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
2626
ENVTEST_K8S_VERSION = 1.31
27+
SETUP_ENVTEST_VERSION ?= release-0.22
2728

2829
# Number of CPUs to be allocacted for testing
2930
PROCS?=$(shell expr $(shell nproc --ignore 2) / 2)
@@ -90,7 +91,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
9091
.PHONY: envtest
9192
envtest: $(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
9697
ginkgo: $(GINKGO) ## Download ginkgo locally if necessary.

0 commit comments

Comments
 (0)