Skip to content

Commit 4734b7d

Browse files
authored
Merge pull request #2331 from marquiz/devel/helm-single-target
Makefile: add helm-generate target
2 parents a39c9d6 + 605c63c commit 4734b7d

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
@@ -72,14 +72,14 @@ done
7272
echo "Verifying Helm values schema"
7373
make helm-schema
7474
if ! git diff --quiet; then
75-
echo "Helm validation schema is not in sync. Run 'make helm-schema' to update"
75+
echo "Helm validation schema is not in sync. Run 'make helm-generate' to update"
7676
exit 1
7777
fi
7878

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

0 commit comments

Comments
 (0)