1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #455 from marquiz/devel/helm-lint

scripts/test-infra: enable helm linting
This commit is contained in:
Kubernetes Prow Robot 2021-02-28 00:22:45 -08:00 committed by GitHub
commit e370429970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -124,6 +124,9 @@ ci-lint:
mdlint:
find docs/ -path docs/vendor -prune -false -o -name '*.md' | xargs $(MDL) -s docs/mdl-style.rb
helm-lint:
helm lint --strict deployment/node-feature-discovery/
test:
$(GO_CMD) test ./cmd/... ./pkg/...

View file

@ -4,9 +4,12 @@
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.36.0
export PATH=$PATH:$(go env GOPATH)/bin
curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.5.2
# Run verify steps
make gofmt-verify
make ci-lint
make helm-lint
# Check that repo is clean
if ! git diff --quiet; then