First install the tools to build and run tests
Add go to your PATH
go get github.com/instrumenta/kubevalAdd kubeval to your PATH
brew install coreutils wget sedAdd the new tools to your PATH
- Kustomize must be cloned under
$GOPATH/src/sigs.k8s.io/or some of the tests will not work
Run the pre-commit.sh script to verify your install
./travis/pre-commit.shThis will run the go tests, as well as documentation tests.
pre-commit.sh will modify all api/plugins by changing linux to darwin.
See #1711 for details.
Don't check these updates in.