mirror of https://github.com/k3s-io/k3s
Fix godep verify to use godep restore script
parent
2b111c5a55
commit
8b3bf13806
|
@ -86,13 +86,8 @@ _kubetmp="${_kubetmp}/kubernetes"
|
|||
export GOPATH="${_tmpdir}"
|
||||
|
||||
pushd "${_kubetmp}" 2>&1 > /dev/null
|
||||
kube::util::ensure_godep_version v79
|
||||
|
||||
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"
|
||||
# Restore the Godeps into our temp directory
|
||||
hack/godep-restore.sh
|
||||
|
||||
# Destroy deps in the copy of the kube tree
|
||||
rm -rf ./Godeps ./vendor
|
||||
|
|
Loading…
Reference in New Issue