-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add comments to targets and cancellable context for tests
- Loading branch information
Sanskar Jaiswal
committed
Jan 13, 2022
1 parent
df964cd
commit f8e4c1b
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,17 +176,17 @@ controller-gen: ## Download controller-gen locally if necessary. | |
# Find or download gen-crd-api-reference-docs | ||
GEN_CRD_API_REFERENCE_DOCS = $(shell pwd)/bin/gen-crd-api-reference-docs | ||
.PHONY: gen-crd-api-reference-docs | ||
gen-crd-api-reference-docs: | ||
gen-crd-api-reference-docs: ## Download gen-crd-api-reference-docs locally if necessary | ||
$(call go-install-tool,$(GEN_CRD_API_REFERENCE_DOCS),github.com/ahmetb/[email protected]) | ||
|
||
ENVTEST = $(shell pwd)/bin/setup-envtest | ||
.PHONY: envtest | ||
setup-envtest: ## Download envtest-setup locally if necessary. | ||
setup-envtest: ## Download setup-envtest locally if necessary. | ||
$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest) | ||
|
||
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin | ||
ENVTEST_KUBERNETES_VERSION?=latest | ||
install-envtest: setup-envtest | ||
install-envtest: setup-envtest ## Download envtest binaries locally. | ||
mkdir -p ${ENVTEST_ASSETS_DIR} | ||
$(ENVTEST) use $(ENVTEST_KUBERNETES_VERSION) --arch=$(ENVTEST_ARCH) --bin-dir=$(ENVTEST_ASSETS_DIR) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters