Skip to content

Commit adc8b5a

Browse files
committed
fix: pin setup-envtest to v0.0.0-20240320141353-395cfc7486e6
Versions of envtest >= v0.0.0-20240322105421-affb96708000 require using go >= 1.22. As go 1.22 is only coming to Fedora 40 on April 16th 2024, we are pinning the version of env-test used for the DWO test suite to v0.0.0-20240320141353-395cfc7486e6 which requires go 1.20. Signed-off-by: Andrew Obuchowicz <[email protected]>
1 parent efe6128 commit adc8b5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ $(LOCALBIN):
243243
## Tool Binaries
244244
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
245245
CONTROLLER_GEN_VERSION = v0.6.1
246+
ENVTEST_VERSION = v0.0.0-20240320141353-395cfc7486e6
246247
ENVTEST ?= $(LOCALBIN)/setup-envtest
247248
ENVTEST_K8S_VERSION = 1.24.2
248249

@@ -256,4 +257,4 @@ $(CONTROLLER_GEN): $(LOCALBIN)
256257
.PHONY: envtest
257258
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
258259
$(ENVTEST): $(LOCALBIN)
259-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
260+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)

0 commit comments

Comments
 (0)