Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.1 KB

dep.md

File metadata and controls

33 lines (22 loc) · 1.1 KB

kubernetes/test-infra dependency management

test-infra uses dep for Go dependency management. dep is a prototype dependency management tool for Go. It requires Go 1.8 or newer to compile.

Setup

You can follow the setup instructions to set up dep in your local environment.

Changing dependencies

You can use the dep instructions for adding, updating or removing a dependency.

Once you've updated, make sure to run:

dep prune
hack/update-bazel.sh

To prune unneeded deps, and then update all the bazel files that dep blows away.

Tips

If dep ensure doesn't come back and freezes, please make sure hg command is installed on your environment. dep ensure requires hg command for getting bitbucket.org/ww/goautoneg , but dep ensure doesn't output such error message and just freezes. reference