mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #40875 from mikedanese/bzl-verify-fix
Automatic merge from submit-queue (batch tested with PRs 40884, 40809, 40845, 40866, 40875) update repo local config to allow redirects from gopkg.in closes #39583
This commit is contained in:
commit
52d31b99dc
@ -20,5 +20,7 @@ set -o pipefail
|
|||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||||
|
|
||||||
|
git config http.https://gopkg.in.followRedirects true
|
||||||
|
|
||||||
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
||||||
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
|
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
|
||||||
|
@ -20,6 +20,8 @@ set -o pipefail
|
|||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||||
|
|
||||||
|
git config http.https://gopkg.in.followRedirects true
|
||||||
|
|
||||||
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
go get -u gopkg.in/mikedanese/gazel.v13/gazel
|
||||||
if ! "${GOPATH}/bin/gazel" -validate -print-diff -root="$(kube::realpath ${KUBE_ROOT})" ; then
|
if ! "${GOPATH}/bin/gazel" -validate -print-diff -root="$(kube::realpath ${KUBE_ROOT})" ; then
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user