mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Enable update-bazel.sh outside of GOPATH
This commit is contained in:
parent
2e57e54fa6
commit
a8991a108a
@ -25,11 +25,11 @@ export GOBIN="${KUBE_OUTPUT_BINPATH}"
|
||||
PATH="${GOBIN}:${PATH}"
|
||||
|
||||
# Install tools we need, but only from vendor/...
|
||||
pushd "${KUBE_ROOT}/vendor"
|
||||
go install ./github.com/bazelbuild/bazel-gazelle/cmd/gazelle
|
||||
go install ./github.com/bazelbuild/buildtools/buildozer
|
||||
go install ./k8s.io/repo-infra/cmd/kazel
|
||||
popd
|
||||
pushd "${KUBE_ROOT}" >/dev/null
|
||||
GO111MODULE=on GOFLAGS=-mod=vendor go install github.com/bazelbuild/bazel-gazelle/cmd/gazelle
|
||||
GO111MODULE=on GOFLAGS=-mod=vendor go install github.com/bazelbuild/buildtools/buildozer
|
||||
GO111MODULE=on GOFLAGS=-mod=vendor go install k8s.io/repo-infra/cmd/kazel
|
||||
popd >/dev/null
|
||||
|
||||
# Find all of the staging repos.
|
||||
while IFS='' read -r repo; do staging_repos+=("${repo}"); done <\
|
||||
|
Loading…
Reference in New Issue
Block a user