mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #71538 from cblecker/godep-path
Don't use hermetic go environment for installing godep
This commit is contained in:
commit
9b160ab90f
@ -456,10 +456,8 @@ kube::util::ensure_godep_version() {
|
|||||||
|
|
||||||
# Otherwise, install forked godep
|
# Otherwise, install forked godep
|
||||||
kube::log::status "Installing godep version ${godep_target_version}"
|
kube::log::status "Installing godep version ${godep_target_version}"
|
||||||
# Run in hermetic GOPATH
|
GOBIN="${KUBE_OUTPUT_BINPATH}" go install k8s.io/kubernetes/third_party/forked/godep
|
||||||
kube::golang::setup_env
|
export KUBE_GODEP="${KUBE_OUTPUT_BINPATH}/godep"
|
||||||
go install k8s.io/kubernetes/third_party/forked/godep
|
|
||||||
export KUBE_GODEP="${KUBE_GOPATH}/bin/godep"
|
|
||||||
kube::log::status "Installed ${KUBE_GODEP}"
|
kube::log::status "Installed ${KUBE_GODEP}"
|
||||||
|
|
||||||
# Verify that the installed godep from fork is what we expect
|
# Verify that the installed godep from fork is what we expect
|
||||||
|
Loading…
Reference in New Issue
Block a user