From ca0c34bae41121849fa73369fd3f616a44fd5fec Mon Sep 17 00:00:00 2001 From: Andrea Panattoni Date: Fri, 24 Nov 2023 11:08:52 +0100 Subject: [PATCH] envtest: Stick to a specific setup-envtest version Using `@latest` for tools dependecies produces unrepeatable builds which might break at any point in time. This is particularly important when maintaining released versions which need a backport fix. Ref: https://github.com/openshift/sriov-network-operator/pull/849 Signed-off-by: Andrea Panattoni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 341e20e2c1..3180fc2796 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ kustomize: ## Download kustomize locally if necessary. ENVTEST = $(BIN_DIR)/setup-envtest envtest: ## Download envtest-setup locally if necessary. - $(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest) + $(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.16.3) GOMOCK = $(shell pwd)/bin/mockgen gomock: