Add staging repos to GOPATH in verify-godeps

This commit adds the staging repos to the GOPATH in
hack/verify-godeps.sh.  This allows vendored librarys
to depend on staging repos and not break verify-godeps.

This also adds `hack/godep-restore.sh`, which acts like
`godep restore`, but sets the GOPATH appropriate as well.
This commit is contained in:
Solly Ross
2017-02-24 12:30:02 -05:00
parent e9eddd9c34
commit 77069cd9ec
3 changed files with 30 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ cd /go/src/k8s.io/kubernetes
# hack/verify-client-go.sh requires all dependencies exist in the GOPATH.
# the retry helps avoid flakes while keeping total time bounded.
godep restore || godep restore
./hack/godep-restore.sh || ./hack/godep-restore.sh
./hack/install-etcd.sh
make verify