diff --git a/.ci/verify b/.ci/verify index c14839b0c..972c220d8 100755 --- a/.ci/verify +++ b/.ci/verify @@ -14,4 +14,4 @@ mkdir -p /go/src/github.com/gardener/gardener-extension-provider-alicloud cp -r . /go/src/github.com/gardener/gardener-extension-provider-alicloud cd /go/src/github.com/gardener/gardener-extension-provider-alicloud -make verify-extended +make verify-extended check-docforge diff --git a/.gitignore b/.gitignore index 4425992c3..a17b5f0d3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /local **/dev /bin +hack/tools/bin *.coverprofile *.html diff --git a/Makefile b/Makefile index 36bb6d67f..482ad298a 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,13 @@ ACCESS_KEY_ID_FILE := .kube-secrets/alicloud/access_key_id.secret ACCESS_KEY_SECRET_FILE := .kube-secrets/alicloud/access_key_secret.secret VPC_ID_FILE := .kube-secrets/alicloud/vpc_id.secret +######################################### +# Tools # +######################################### + +TOOLS_DIR := hack/tools +include vendor/github.com/gardener/gardener/hack/tools.mk + ######################################### # Rules for local development scenarios # ######################################### @@ -121,6 +128,10 @@ check: @$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check.sh --golangci-lint-config=./.golangci.yaml ./cmd/... ./pkg/... ./test/... @$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check-charts.sh ./charts +.PHONY: check-docforge +check-docforge: $(DOCFORGE) + @$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check-docforge.sh $(REPO_ROOT) $(REPO_ROOT)/.docforge/manifest.yaml ".docforge/;docs/" "gardener-extension-provider-alicloud" false + .PHONY: generate generate: @$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/generate.sh ./charts/... ./cmd/... ./example/... ./pkg/... diff --git a/hack/tools/bin/.gitkeep b/hack/tools/bin/.gitkeep new file mode 100644 index 000000000..e69de29bb