bump bazel version to 0.27

pull/20097/head
Jan Tattermusch 6 years ago committed by Richard Belleville
parent 426450cd82
commit b7667478cf
  1. 8
      bazel/grpc_deps.bzl
  2. 2
      templates/tools/dockerfile/bazel.include
  3. 2
      tools/bazel
  4. 2
      tools/dockerfile/test/bazel/Dockerfile
  5. 2
      tools/dockerfile/test/sanity/Dockerfile
  6. 7
      tools/remote_build/kokoro.bazelrc
  7. 7
      tools/remote_build/manual.bazelrc
  8. 2
      tools/remote_build/rbe_common.bazelrc

@ -176,11 +176,11 @@ def grpc_deps():
if "bazel_toolchains" not in native.existing_rules():
http_archive(
name = "bazel_toolchains",
sha256 = "d968b414b32aa99c86977e1171645d31da2b52ac88060de3ac1e49932d5dcbf1",
strip_prefix = "bazel-toolchains-4bd5df80d77aa7f4fb943dfdfad5c9056a62fb47",
sha256 = "872955b658113924eb1a3594b04d43238da47f4f90c17b76e8785709490dc041",
strip_prefix = "bazel-toolchains-1083686fde6032378d52b4c98044922cebde364e",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/4bd5df80d77aa7f4fb943dfdfad5c9056a62fb47.tar.gz",
"https://github.com/bazelbuild/bazel-toolchains/archive/4bd5df80d77aa7f4fb943dfdfad5c9056a62fb47.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/1083686fde6032378d52b4c98044922cebde364e.tar.gz",
"https://github.com/bazelbuild/bazel-toolchains/archive/1083686fde6032378d52b4c98044922cebde364e.tar.gz",
],
)

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

@ -32,7 +32,7 @@ then
exec -a "$0" "${BAZEL_REAL}" "$@"
fi
VERSION=0.26.0
VERSION=0.28.1
echo "INFO: Running bazel wrapper (see //tools/bazel for details), bazel version $VERSION will be used instead of system-wide bazel installation."

@ -52,7 +52,7 @@ RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.10.0 t
# Bazel installation
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 0.26.0
ENV BAZEL_VERSION 0.28.1
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1

@ -98,7 +98,7 @@ ENV CLANG_TIDY=clang-tidy
# Bazel installation
# Must be in sync with tools/bazel
ENV BAZEL_VERSION 0.26.0
ENV BAZEL_VERSION 0.28.1
# The correct bazel version is already preinstalled, no need to use //tools/bazel wrapper.
ENV DISABLE_BAZEL_WRAPPER 1

@ -16,13 +16,12 @@
import %workspace%/tools/remote_build/rbe_common.bazelrc
build --remote_cache=remotebuildexecution.googleapis.com
build --remote_executor=remotebuildexecution.googleapis.com
build --tls_enabled=true
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
build --auth_enabled=true
build --bes_backend=buildeventservice.googleapis.com
build --bes_backend=grpcs://buildeventservice.googleapis.com
build --bes_timeout=600s
build --project_id=grpc-testing

@ -17,9 +17,8 @@
import %workspace%/tools/remote_build/rbe_common.bazelrc
build --remote_cache=remotebuildexecution.googleapis.com
build --remote_executor=remotebuildexecution.googleapis.com
build --tls_enabled=true
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
# Enable authentication. This will pick up application default credentials by
# default. You can use --auth_credentials=some_file.json to use a service
@ -30,7 +29,7 @@ build --auth_enabled=true
# Set flags for uploading to BES in order to view results in the Bazel Build
# Results UI.
build --bes_backend="buildeventservice.googleapis.com"
build --bes_backend=grpcs://buildeventservice.googleapis.com
build --bes_timeout=60s
build --bes_results_url="https://source.cloud.google.com/results/invocations/"
build --project_id=grpc-testing

@ -87,4 +87,4 @@ build:ubsan --test_timeout=3600
# how to update the bazel toolchain for ubsan:
# - check for the latest released version in https://github.com/bazelbuild/bazel-toolchains/tree/master/configs/experimental/ubuntu16_04_clang
# - you might need to update the bazel_toolchains dependency in grpc_deps.bzl
build:ubsan --crosstool_top=@bazel_toolchains//configs/experimental/ubuntu16_04_clang/1.2/bazel_0.23.0/ubsan:toolchain
build:ubsan --crosstool_top=@bazel_toolchains//configs/experimental/ubuntu16_04_clang/1.2/bazel_0.28.0/ubsan:toolchain

Loading…
Cancel
Save