Skip to content

Commit 244929f

Browse files
authored
CLOUD-727: pin envtest version for unit tests (#2299)
1 parent 14d9564 commit 244929f

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
@@ -7,6 +7,7 @@ IMAGE ?= $(IMAGE_TAG_BASE):$(VERSION)
77
DEPLOYDIR = ./deploy
88

99
ENVTEST_K8S_VERSION = 1.31
10+
ENVTEST_VERSION ?= release-0.23
1011

1112
all: build
1213

@@ -94,7 +95,7 @@ kustomize: ## Download kustomize locally if necessary.
9495

9596
ENVTEST = $(shell pwd)/bin/setup-envtest
9697
envtest: ## Download envtest-setup locally if necessary.
97-
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)
98+
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION))
9899

99100
SWAGGER = $(shell pwd)/bin/swagger
100101
swagger: ## Download swagger locally if necessary.

0 commit comments

Comments
 (0)