Skip to content

Commit

Permalink
fix: pin setup-envtest to v0.0.0-20240320141353-395cfc7486e6
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AObuchow committed Apr 5, 2024
1 parent efe6128 commit adc8b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ $(LOCALBIN):
## Tool Binaries
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
CONTROLLER_GEN_VERSION = v0.6.1
ENVTEST_VERSION = v0.0.0-20240320141353-395cfc7486e6
ENVTEST ?= $(LOCALBIN)/setup-envtest
ENVTEST_K8S_VERSION = 1.24.2

Expand All @@ -256,4 +257,4 @@ $(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@$(ENVTEST_VERSION)

0 comments on commit adc8b5a

Please sign in to comment.