1# Enable building targets in //external:__subpackages__. 2common --experimental_sibling_repository_layout 3common --experimental_disable_external_package 4 5# Show the full set of flags for observability and debuggability. 6common --announce_rc 7 8# Depending on how many machines are in the remote execution instance, setting 9# this higher can make builds faster by allowing more jobs to run in parallel. 10# Setting it too high can result in jobs that timeout, however, while waiting 11# for a remote machine to execute them. 12build:remote --jobs=200 13 14# Set the Java used to launch Tradefed. 15build:remote --action_env=TF_JAVA_HOME=/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced 16 17# Set a host platform specifying the Docker container image used by the RBE 18# instance. 19# See https://docs.bazel.build/versions/master/platforms.html for more about 20# platforms. 21build:remote --host_platform=//bazel/configs/rbe/config:platform 22 23# Enable the remote cache so that action results can be shared across machines, 24# developers, and workspaces. 25build:remote --remote_cache=grpcs://remotebuildexecution.googleapis.com 26 27# Enable remote execution so that actions are performed on the remote systems. 28build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com 29 30# Set a higher timeout value, just in case. 31build:remote --remote_timeout=3600 32 33# Enable authentication. This will pick up application default credentials by 34# default. You can use --auth_credentials=some_file.json to use a service 35# account credential instead. 36build:remote --google_default_credentials=true 37