upgrade bazel to 2.2.0

pull/23967/head
Jan Tattermusch 5 years ago
parent fb8e4556c2
commit 424d33415c
  1. 4
      bazel/update_mirror.sh
  2. 2
      templates/tools/dockerfile/bazel.include
  3. 2
      tools/bazel
  4. 2
      tools/internal_ci/windows/bazel_rbe.bat

@ -56,6 +56,10 @@ upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-linux-x86
upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-darwin-x86_64
upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-windows-x86_64.exe
upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-linux-x86_64
upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-darwin-x86_64
upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-windows-x86_64.exe
# Collect the github archives to mirror from grpc_deps.bzl
grep -o '"https://github.com/[^"]*"' bazel/grpc_deps.bzl | sed 's/^"https:\/\///' | sed 's/"$//' | while read -r line ; do
echo "Updating mirror for ${line}"

@ -2,7 +2,7 @@
# Bazel installation
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 1.0.0
ENV BAZEL_VERSION 2.2.0
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1

@ -40,7 +40,7 @@ then
fi
fi
VERSION=1.0.0
VERSION=2.2.0
echo "INFO: Running bazel wrapper (see //tools/bazel for details), bazel version $VERSION will be used instead of system-wide bazel installation." >&2
# update tools/update_mirror.sh to populate the mirror with new bazel archives

@ -14,7 +14,7 @@
@rem TODO(jtattermusch): make this generate less output
@rem TODO(jtattermusch): use tools/bazel script to keep the versions in sync
choco install bazel -y --version 1.0.0 --limit-output
choco install bazel -y --version 2.2.0 --limit-output
cd github/grpc
set PATH=C:\tools\msys64\usr\bin;C:\Python27;%PATH%

Loading…
Cancel
Save