Fix godep verify to use godep restore script

pull/6/head
Christoph Blecker 2017-07-07 23:16:54 -07:00
parent 2b111c5a55
commit 8b3bf13806
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
1 changed files with 2 additions and 7 deletions

View File

@ -86,13 +86,8 @@ _kubetmp="${_kubetmp}/kubernetes"
export GOPATH="${_tmpdir}" export GOPATH="${_tmpdir}"
pushd "${_kubetmp}" 2>&1 > /dev/null pushd "${_kubetmp}" 2>&1 > /dev/null
kube::util::ensure_godep_version v79 # Restore the Godeps into our temp directory
hack/godep-restore.sh
export GOPATH="${GOPATH}:${_kubetmp}/staging"
# Fill out that nice clean place with the kube godeps
echo "Starting to download all kubernetes godeps. This takes a while"
godep restore
echo "Download finished"
# Destroy deps in the copy of the kube tree # Destroy deps in the copy of the kube tree
rm -rf ./Godeps ./vendor rm -rf ./Godeps ./vendor