Skip to content

Commit

Permalink
pin setup-envtest to go 1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
  • Loading branch information
ushitora-anqou committed Apr 1, 2024
1 parent e426b8a commit 1730889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,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)
2 changes: 2 additions & 0 deletions versions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ CONTROLLER_TOOLS_VERSION := v0.13.0
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
# NOTE: the suffix .x means wildcard match so specifying the latest patch version.
ENVTEST_K8S_VERSION := 1.28.x
# ENVTEST_VERSION is usually latest, but might need to be pinned from time to time.
ENVTEST_VERSION := bf15e44028f908c790721fc8fe67c7bf2d06a611
HELM_VERSION := 3.14.0
KIND_VERSION := v0.20.0
# It is set by CI using the environment variable, use conditional assignment.
Expand Down

0 comments on commit 1730889

Please sign in to comment.