Skip to content

Commit

Permalink
update repo local config to allow redirects from gopkg.in
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese committed Feb 2, 2017
1 parent f66679a commit 04a7880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/update-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"

git config http.https://gopkg.in.followRedirects true

go get -u gopkg.in/mikedanese/gazel.v13/gazel
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
2 changes: 2 additions & 0 deletions hack/verify-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"

git config http.https://gopkg.in.followRedirects true

go get -u gopkg.in/mikedanese/gazel.v13/gazel
if ! "${GOPATH}/bin/gazel" -validate -print-diff -root="$(kube::realpath ${KUBE_ROOT})" ; then
echo
Expand Down

0 comments on commit 04a7880

Please sign in to comment.