aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/remote_build/kokoro.bazelrc
blob: b06fb83d1120d69acf91083b2ac6ce8ea7032142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2018 The gRPC Authors
#
# 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.

# bazelrc file for running gRPC tests on Kokoro using Foundry

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 --auth_enabled=true
# magic location where kokoro script puts the credentials
build --auth_credentials=/tmpfs/src/keystore/4321_grpc-testing-service
build --auth_scope=https://www.googleapis.com/auth/cloud-source-tools

build --bes_backend=buildeventservice.googleapis.com
build --bes_best_effort=false
build --bes_timeout=600s
build --project_id=grpc-testing

# required by kokoro for some reason
build --test_env=USER=anon

build --jobs=200
build --test_output=errors
build --keep_going=true
build --remote_accept_cached=true
build --remote_local_fallback=true