Skip to content

Commit 89fa1b1

Browse files
pin setup-envtest release
This change pins the version of setup-envtest to release 0.22 which is the most recent release to use golan 1.24 latest now uses 1.25 and is not compatible with the operator as a result
1 parent 9c9ab71 commit 89fa1b1

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
@@ -214,6 +214,7 @@ GINKGO ?= $(LOCALBIN)/ginkgo
214214
## Tool Versions
215215
KUSTOMIZE_VERSION ?= v3.8.7
216216
CONTROLLER_TOOLS_VERSION ?= v0.18.0
217+
SETUP_ENVTEST_VERSION ?= release-0.22
217218

218219
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
219220
.PHONY: kustomize
@@ -234,7 +235,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
234235
.PHONY: envtest
235236
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
236237
$(ENVTEST): $(LOCALBIN)
237-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
238+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION)
238239

239240

240241
.PHONY: ginkgo

0 commit comments

Comments
 (0)