Skip to content

Commit 605c63c

Browse files
committed
Makefile: add helm-generate target
One helm target to rule them all.
1 parent 42eeb21 commit 605c63c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ mdlint:
180180
ruby:slim \
181181
/workdir/scripts/test-infra/mdlint.sh
182182

183+
.PHONY: helm-generate
184+
helm-generate: helm-lint helm-docs helm-schema
185+
183186
.PHONY: helm-schema
184187
helm-schema:
185188
cd deployment/helm/node-feature-discovery/ && \

scripts/test-infra/verify.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ done
7373
echo "Verifying Helm values schema"
7474
make helm-schema
7575
if ! git diff --quiet; then
76-
echo "Helm validation schema is not in sync. Run 'make helm-schema' to update"
76+
echo "Helm validation schema is not in sync. Run 'make helm-generate' to update"
7777
exit 1
7878
fi
7979

8080
# Check that the Helm README is in sync
8181
echo "Verifying Helm README"
8282
make helm-docs
8383
if ! git diff --quiet; then
84-
echo "Helm README is not in sync. Run 'make helm-docs' to update"
84+
echo "Helm README is not in sync. Run 'make helm-generate' to update"
8585
exit 1
8686
fi

0 commit comments

Comments
 (0)