mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.9 KiB
44 lines
1.9 KiB
3 years ago
|
#@IgnoreInspection BashAddShebang
|
||
|
# Copyright 2022 The gRPC Authors
|
||
6 years ago
|
#
|
||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
# you may not use this file except in compliance with the License.
|
||
|
# You may obtain a copy of the License at
|
||
|
#
|
||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
|
#
|
||
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
|
||
3 years ago
|
# bazelrc to configure bazel to use gRPC's main RBE instance for remote cache
|
||
|
# and to upload build results to build event service (for bazel build UI results).
|
||
|
# Note that remote build and test execution is left unconfigured.
|
||
6 years ago
|
|
||
3 years ago
|
startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
|
||
6 years ago
|
|
||
3 years ago
|
# the RBE instance to use
|
||
|
build --remote_instance_name=projects/grpc-testing/instances/default_instance
|
||
6 years ago
|
|
||
3 years ago
|
# Enable authentication (to be able access the RBE service)
|
||
|
# Bazel will use application default credentials
|
||
5 years ago
|
# unless overridden by --google_credentials=service_account_credentials.json
|
||
3 years ago
|
# How to setup credentials to be able to use bazel RBE locally:
|
||
5 years ago
|
# https://cloud.google.com/remote-build-execution/docs/results-ui/getting-started-results-ui
|
||
6 years ago
|
build --auth_enabled=true
|
||
|
|
||
3 years ago
|
# use remote cache (remote execution needs to be configured separately)
|
||
|
# Note that remote cache is needed
|
||
|
# not only for build speedup, but also for the test logs
|
||
|
# to become available in ResultStore.
|
||
|
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
|
||
|
|
||
6 years ago
|
# Set flags for uploading to BES in order to view results in the Bazel Build
|
||
|
# Results UI.
|
||
5 years ago
|
build --bes_backend=grpcs://buildeventservice.googleapis.com
|
||
5 years ago
|
build --bes_timeout=600s
|
||
6 years ago
|
build --bes_results_url="https://source.cloud.google.com/results/invocations/"
|
||
|
build --project_id=grpc-testing
|