1# Copyright 2018 The gRPC Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# bazelrc file for running gRPC tests with Foundry (remote build execution) 16# manually from developer's workstation 17 18import %workspace%/tools/remote_build/rbe_common.bazelrc 19 20build --remote_cache=grpcs://remotebuildexecution.googleapis.com 21build --remote_executor=grpcs://remotebuildexecution.googleapis.com 22 23# Enable authentication. Bazel will use application default credentials 24# unless overridden by --google_credentials=service_account_credentials.json 25# How to setup credentials: 26# https://cloud.google.com/remote-build-execution/docs/results-ui/getting-started-results-ui 27build --auth_enabled=true 28 29# Set flags for uploading to BES in order to view results in the Bazel Build 30# Results UI. 31build --bes_backend=grpcs://buildeventservice.googleapis.com 32build --bes_timeout=600s 33build --bes_results_url="https://source.cloud.google.com/results/invocations/" 34build --project_id=grpc-testing 35 36build --jobs=100 37 38# print output for tests that fail (default is "summary") 39build --test_output=errors 40