Skip to content

Commit 7271a3c

Browse files
authored
Merge pull request #134 from sachinkumarsingh092/enable-spelling-boilerplate-prow-checks
Enable spelling and boilerplate checks in prow and local tests
2 parents 1291730 + dccf855 commit 7271a3c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.prow.sh

+3
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@
2222

2323
. release-tools/prow.sh
2424

25+
./release-tools/verify-boilerplate.sh "$(pwd)"
26+
./release-tools/verify-spelling.sh "$(pwd)"
27+
2528
main

docs/csi-dev.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ cd $GOPATH/src/github.com/kubernetes-csi/csi-driver-nfs
3535
$ ./_output/nfsplugin --endpoint tcp://127.0.0.1:10000 --nodeid CSINode -v=5 &
3636
```
3737

38-
#### 0. Set environmnet variables
38+
#### 0. Set environment variables
3939
```console
4040
$ cap="1,mount,"
4141
$ volname="test-$(date +%s)"
@@ -86,7 +86,7 @@ CSINode
8686
```
8787

8888
## How to test CSI driver in a Kubernetes cluster
89-
- Set environmnet variable
89+
- Set environment variable
9090
```console
9191
export REGISTRY=<dockerhub-alias>
9292
export IMAGE_VERSION=latest

hack/verify-all.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ${PKG_ROOT}/hack/verify-gofmt.sh
2222
${PKG_ROOT}/hack/verify-govet.sh
2323
${PKG_ROOT}/hack/verify-golint.sh
2424
${PKG_ROOT}/hack/verify-yamllint.sh
25-
#${PKG_ROOT}/hack/verify-boilerplate.sh
26-
#${PKG_ROOT}/hack/verify-spelling.sh
25+
${PKG_ROOT}/hack/verify-boilerplate.sh
26+
${PKG_ROOT}/hack/verify-spelling.sh
2727
${PKG_ROOT}/hack/verify-helm-chart.sh
2828
${PKG_ROOT}/hack/verify-gomod.sh

0 commit comments

Comments
 (0)