Merge pull request #134 from sachinkumarsingh092/enable-spelling-boilerplate-prow-checks

Enable spelling and boilerplate checks in prow and local tests
This commit is contained in:
Kubernetes Prow Robot 2021-01-16 05:01:43 -08:00 committed by GitHub
commit 7271a3cc0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -22,4 +22,7 @@
. release-tools/prow.sh . release-tools/prow.sh
./release-tools/verify-boilerplate.sh "$(pwd)"
./release-tools/verify-spelling.sh "$(pwd)"
main main

View File

@ -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 & $ ./_output/nfsplugin --endpoint tcp://127.0.0.1:10000 --nodeid CSINode -v=5 &
``` ```
#### 0. Set environmnet variables #### 0. Set environment variables
```console ```console
$ cap="1,mount," $ cap="1,mount,"
$ volname="test-$(date +%s)" $ volname="test-$(date +%s)"
@ -86,7 +86,7 @@ CSINode
``` ```
## How to test CSI driver in a Kubernetes cluster ## How to test CSI driver in a Kubernetes cluster
- Set environmnet variable - Set environment variable
```console ```console
export REGISTRY=<dockerhub-alias> export REGISTRY=<dockerhub-alias>
export IMAGE_VERSION=latest export IMAGE_VERSION=latest

View File

@ -22,7 +22,7 @@ ${PKG_ROOT}/hack/verify-gofmt.sh
${PKG_ROOT}/hack/verify-govet.sh ${PKG_ROOT}/hack/verify-govet.sh
${PKG_ROOT}/hack/verify-golint.sh ${PKG_ROOT}/hack/verify-golint.sh
${PKG_ROOT}/hack/verify-yamllint.sh ${PKG_ROOT}/hack/verify-yamllint.sh
#${PKG_ROOT}/hack/verify-boilerplate.sh ${PKG_ROOT}/hack/verify-boilerplate.sh
#${PKG_ROOT}/hack/verify-spelling.sh ${PKG_ROOT}/hack/verify-spelling.sh
${PKG_ROOT}/hack/verify-helm-chart.sh ${PKG_ROOT}/hack/verify-helm-chart.sh
${PKG_ROOT}/hack/verify-gomod.sh ${PKG_ROOT}/hack/verify-gomod.sh