mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
scripts/test-infra: enable helm linting
This commit is contained in:
parent
b6d7018d2a
commit
34cc407dd9
2 changed files with 6 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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/...
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue