Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable spelling and boilerplate checks in prow and local tests #134

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@

. release-tools/prow.sh

./release-tools/verify-boilerplate.sh "$(pwd)"
./release-tools/verify-spelling.sh "$(pwd)"

main
4 changes: 2 additions & 2 deletions docs/csi-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ cd $GOPATH/src/github.com/kubernetes-csi/csi-driver-nfs
$ ./_output/nfsplugin --endpoint tcp://127.0.0.1:10000 --nodeid CSINode -v=5 &
```

#### 0. Set environmnet variables
#### 0. Set environment variables
```console
$ cap="1,mount,"
$ volname="test-$(date +%s)"
Expand Down Expand Up @@ -86,7 +86,7 @@ CSINode
```

## How to test CSI driver in a Kubernetes cluster
- Set environmnet variable
- Set environment variable
```console
export REGISTRY=<dockerhub-alias>
export IMAGE_VERSION=latest
Expand Down
4 changes: 2 additions & 2 deletions hack/verify-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ${PKG_ROOT}/hack/verify-gofmt.sh
${PKG_ROOT}/hack/verify-govet.sh
${PKG_ROOT}/hack/verify-golint.sh
${PKG_ROOT}/hack/verify-yamllint.sh
#${PKG_ROOT}/hack/verify-boilerplate.sh
#${PKG_ROOT}/hack/verify-spelling.sh
${PKG_ROOT}/hack/verify-boilerplate.sh
${PKG_ROOT}/hack/verify-spelling.sh
${PKG_ROOT}/hack/verify-helm-chart.sh
${PKG_ROOT}/hack/verify-gomod.sh