From c31961f94fb044c002f03d0b94d775782d13ad55 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 27 Mar 2024 17:05:59 +0100 Subject: [PATCH] Pin setup-envtest to last working commit Change[0] in controller-runtime is causing our tests to fail with go version mismatch. This version restriction should be removed once the issue is fixed in the controller-runtime [0] kubernetes-sigs/controller-runtime#2693 Signed-off-by: Jiri Podivin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 35a1b299..b15f1b46 100644 --- a/Makefile +++ b/Makefile @@ -227,7 +227,7 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@c7e1dc9 .PHONY: ginkgo ginkgo: $(GINKGO) ## Download ginkgo locally if necessary.