Skip to content

Commit

Permalink
Add check for the docforge manifest (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Zhelyazkov authored Jan 17, 2022
1 parent f942782 commit dcbb0d5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/verify
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/local
**/dev
/bin
hack/tools/bin

*.coverprofile
*.html
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
#########################################
Expand Down Expand Up @@ -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/...
Expand Down
Empty file added hack/tools/bin/.gitkeep
Empty file.

0 comments on commit dcbb0d5

Please sign in to comment.