mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +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}"
|
PATH="${GOBIN}:${PATH}"
|
||||||
|
|
||||||
# Install tools we need, but only from vendor/...
|
# Install tools we need, but only from vendor/...
|
||||||
pushd "${KUBE_ROOT}/vendor"
|
pushd "${KUBE_ROOT}" >/dev/null
|
||||||
go install ./github.com/bazelbuild/bazel-gazelle/cmd/gazelle
|
GO111MODULE=on GOFLAGS=-mod=vendor go install github.com/bazelbuild/bazel-gazelle/cmd/gazelle
|
||||||
go install ./github.com/bazelbuild/buildtools/buildozer
|
GO111MODULE=on GOFLAGS=-mod=vendor go install github.com/bazelbuild/buildtools/buildozer
|
||||||
go install ./k8s.io/repo-infra/cmd/kazel
|
GO111MODULE=on GOFLAGS=-mod=vendor go install k8s.io/repo-infra/cmd/kazel
|
||||||
popd
|
popd >/dev/null
|
||||||
|
|
||||||
# Find all of the staging repos.
|
# Find all of the staging repos.
|
||||||
while IFS='' read -r repo; do staging_repos+=("${repo}"); done <\
|
while IFS='' read -r repo; do staging_repos+=("${repo}"); done <\
|
||||||
|
Loading…
Reference in New Issue
Block a user