From c4e48fb3fe0ddf60ee1fe797f779eec9548db47a Mon Sep 17 00:00:00 2001 From: emilyaf Date: Mon, 5 Feb 2024 16:59:12 -0800 Subject: [PATCH] Pin bazel=6.4.0 for Github tests while we resolve breakages due to 7.0.0 release. PiperOrigin-RevId: 604475134 --- testing/run_github_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/run_github_tests.sh b/testing/run_github_tests.sh index 1ebe48df8a..d9c6c2c4ee 100755 --- a/testing/run_github_tests.sh +++ b/testing/run_github_tests.sh @@ -23,6 +23,9 @@ set -u # fail and exit on any undefined variable reference # Get the absolute path to the directory containing this script. DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) +# TODO(b/316225328): Remove this line and use the latest version of Bazel. +export USE_BAZEL_VERSION=6.4.0 + # Make sure the environment variables are set. if [ -z "${SHARD+x}" ]; then echo "SHARD is unset." @@ -47,7 +50,8 @@ install_bazel() { # Update apt and install bazel (use -qq to minimize log cruft) sudo apt-get update - sudo apt-get install bazel + # TODO(b/316225328): Use the latest version of Bazel. + sudo apt-get install bazel-6.4.0 } install_python_packages() {