Commit cfbd97c4 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #51134 from stevekuznetsov/skuznets/verbose-bazel-error

Automatic merge from submit-queue Don't silence `go get` during verify scripts When the verify scripts fail to install a component using `go get` today, they silence output go `stderr` and cause the user to not get any actionable feedback on failure. Signed-off-by: 's avatarSteve Kuznetsov <skuznets@redhat.com> ```release-note NONE ``` /assign @ixdy
parents acdf625e 86a5bd6c
...@@ -505,7 +505,7 @@ kube::util::ensure_godep_version() { ...@@ -505,7 +505,7 @@ kube::util::ensure_godep_version() {
kube::util::ensure-temp-dir kube::util::ensure-temp-dir
mkdir -p "${KUBE_TEMP}/go/src" mkdir -p "${KUBE_TEMP}/go/src"
GOPATH="${KUBE_TEMP}/go" go get -d -u github.com/tools/godep 2>/dev/null GOPATH="${KUBE_TEMP}/go" go get -d -u github.com/tools/godep
pushd "${KUBE_TEMP}/go/src/github.com/tools/godep" >/dev/null pushd "${KUBE_TEMP}/go/src/github.com/tools/godep" >/dev/null
git checkout -q "${GODEP_VERSION}" git checkout -q "${GODEP_VERSION}"
GOPATH="${KUBE_TEMP}/go" go install . GOPATH="${KUBE_TEMP}/go" go install .
...@@ -539,7 +539,7 @@ kube::util::go_install_from_commit() { ...@@ -539,7 +539,7 @@ kube::util::go_install_from_commit() {
kube::util::ensure-temp-dir kube::util::ensure-temp-dir
mkdir -p "${KUBE_TEMP}/go/src" mkdir -p "${KUBE_TEMP}/go/src"
GOPATH="${KUBE_TEMP}/go" go get -d -u "${pkg}" 2>/dev/null GOPATH="${KUBE_TEMP}/go" go get -d -u "${pkg}"
( (
cd "${KUBE_TEMP}/go/src/${pkg}" cd "${KUBE_TEMP}/go/src/${pkg}"
git checkout -q "${commit}" git checkout -q "${commit}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment