|
|
@ -81,7 +81,8 @@ install-envtest: setup-envtest
|
|
|
|
ENVTEST = $(shell pwd)/bin/setup-envtest
|
|
|
|
ENVTEST = $(shell pwd)/bin/setup-envtest
|
|
|
|
.PHONY: envtest
|
|
|
|
.PHONY: envtest
|
|
|
|
setup-envtest: ## Download envtest-setup locally if necessary.
|
|
|
|
setup-envtest: ## Download envtest-setup locally if necessary.
|
|
|
|
$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)
|
|
|
|
# replace the commit SHA with 'latest' when https://github.com/kubernetes-sigs/controller-runtime/issues/2720 is fixed
|
|
|
|
|
|
|
|
$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@c7e1dc9b5302d649d5531e19168dd7ea0013736d)
|
|
|
|
|
|
|
|
|
|
|
|
# go-install-tool will 'go install' any package $2 and install it to $1.
|
|
|
|
# go-install-tool will 'go install' any package $2 and install it to $1.
|
|
|
|
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
|
|
|
|