Merge pull request #19266 from jtattermusch/bazelisk_incompatible_changes

Use bazelisk to grab latest bazel version in "incompatible changes" test suite.
pull/19270/head
Jan Tattermusch 6 years ago committed by GitHub
commit b50fbc8a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh

@ -15,9 +15,14 @@
set -ex set -ex
# TODO(jtattermusch): use the latest version of bazel # Use bazelisk to download the right bazel version
wget https://github.com/bazelbuild/bazelisk/releases/download/v0.0.7/bazelisk-linux-amd64
chmod u+x bazelisk-linux-amd64
# Use --all_incompatible_changes to give an early warning about future # We want bazelisk to run the latest stable version
# bazel incompatibilities. export USE_BAZEL_VERSION=latest
EXTRA_FLAGS="--config=opt --cache_test_results=no --all_incompatible_changes" # Use bazelisk instead of our usual //tools/bazel wrapper
mv bazelisk-linux-amd64 github/grpc/tools/bazel
EXTRA_FLAGS="--config=opt --cache_test_results=no"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

Loading…
Cancel
Save