• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Configuration for mac bazel test runs on CI
2# Bazel RBE doesn't currently support MacOS platform,
3# so we configure tests to build and run locally,
4# but try to use RBE build cache and upload results
5# to ResultStore
6
7startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
8
9# remote cache is needed not only for build speedup,
10# but also for the test logs to be available in ResultStore
11# for now, don't upload results to cache, only the test logs.
12# TODO(jtattermusch): setup a "cache-silo-key" before enabling uploads to build cache
13build --remote_cache=grpcs://remotebuildexecution.googleapis.com
14build --remote_instance_name=projects/grpc-testing/instances/default_instance
15build --remote_upload_local_results=false
16
17build --auth_enabled=true
18
19build --verbose_failures=true
20
21build --test_tag_filters=-no_mac
22build --build_tag_filters=-no_mac
23
24# without verbose gRPC logs the test outputs are not very useful
25test --test_env=GRPC_VERBOSITY=debug
26
27# Set flags for uploading to BES in order to view results in the Bazel Build
28# Results UI.
29build --bes_backend=grpcs://buildeventservice.googleapis.com
30build --bes_timeout=600s
31build --bes_results_url="https://source.cloud.google.com/results/invocations/"
32build --project_id=grpc-testing
33
34# print output for tests that fail (default is "summary")
35build --test_output=errors
36