diff --git a/.bazelversion b/.bazelversion index f22d756da39d4..b26a34e470564 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.5.0 +7.2.1 diff --git a/ci/cloudbuild/builds/lib/bazel.sh b/ci/cloudbuild/builds/lib/bazel.sh index 342be10a69421..0dc0597eb9289 100644 --- a/ci/cloudbuild/builds/lib/bazel.sh +++ b/ci/cloudbuild/builds/lib/bazel.sh @@ -40,7 +40,6 @@ time { @local_config_platform//... \ @local_config_cc_toolchains//... \ @local_config_sh//... \ - @go_sdk//... \ @remotejdk11_linux//:jdk } echo >&2 diff --git a/ci/cloudbuild/builds/quickstart-bazel.sh b/ci/cloudbuild/builds/quickstart-bazel.sh index 9c0bad3dc67de..65fe12a94717d 100755 --- a/ci/cloudbuild/builds/quickstart-bazel.sh +++ b/ci/cloudbuild/builds/quickstart-bazel.sh @@ -16,8 +16,6 @@ set -euo pipefail -export USE_BAZEL_VERSION=6.4.0 - source "$(dirname "$0")/../../lib/init.sh" source module ci/cloudbuild/builds/lib/bazel.sh source module ci/etc/quickstart-config.sh @@ -27,6 +25,7 @@ export CC=gcc export CXX=g++ mapfile -t args < <(bazel::common_args) +args+=(--noenable_bzlmod) for lib in $(quickstart::libraries); do io::log_h2 "Running Bazel quickstart for ${lib}" env -C "${PROJECT_ROOT}/google/cloud/${lib}/quickstart" \ diff --git a/ci/gha/builds/lib/bazel.sh b/ci/gha/builds/lib/bazel.sh index 622c7a7fab797..650f5d4d8e9da 100755 --- a/ci/gha/builds/lib/bazel.sh +++ b/ci/gha/builds/lib/bazel.sh @@ -101,7 +101,6 @@ function bazel::prefetch() { "@local_config_platform//..." "@local_config_cc_toolchains//..." "@local_config_sh//..." - "@go_sdk//..." ) local os_rules mapfile -t os_rules < <(os::prefetch)