blob: b9a35ecb0df774b5171f72d37433c6dce2204343 [file] [log] [blame]
# This a configuration file for reclient's reproxy tool.
# Values in this file can be overridden by corresponding
# environment variables that start with "RBE_".
service=remotebuildexecution.googleapis.com:443
# rbe-fuchsia-{dev,prod} are gVisor (security hardened)
instance=projects/rbe-fuchsia-prod/instances/default
# Authentication. Default to using ADC.
use_application_default_credentials=true
# Use of credential helper for authentication
# is enabled in fuchsia-reproxy-gcertauth.cfg.
# Its inclusion in 'fuchsia-reproxy-wrap.sh' is conditional on
# having a valid *unrestricted* LOAS certificate.
enable_deps_cache=true
# This filesystem xattr is used to persist digests of remote
# action outputs. In the normal case, this is so that reproxy doesn't
# need to rehash the files on every invocation. In the skip-downloads
# case, this is so that they do not need to be fetched just for the
# sake of being re-used as inputs to remote actions in future
# invocations of reproxy.
# This should match _RBE_XATTR_HASH in build/rbe/remote_action.py.
xattr_digest=user.fuchsia.rbe.digests.sha256
# The following variables are overridden by their corresponding
# RBE_* environment variables in build/rbe/fuchsia-reproxy-wrap.sh:
server_address=unix:///tmp/reproxy.sock
# log_path=text:///tmp/reproxy_log.txt
log_dir=/tmp
proxy_log_dir=/tmp
# Prefer "reducedtext" over "text" for much smaller logs.
# The information that is omitted from "reducedtext" (e.g. inputs)
# can be found later with `remotetool --operation show_action`.
log_format=reducedtext
# Compress remote execution output downloads from RBE.
# This is very beneficial in bandwith-limited development environments.
# Use of compression increases local CPU usage to some degree in reproxy.
#
# The threshold of 16k was chosen arbitrarily,
# but gave reasonable results so far. (This could be tweaked further.)
# `use_batches` must be set to false to net any results.
#
# To opt-out of compression, see build/rbe/reproxy-no-compress.cfg.
compression_threshold=16384
use_batches=false