Remote Build Execution is only configurable in the Enterprise version of BuildBuddy.
config.yaml file, but most configuration is done via toolchains, platforms, or the enterprise Helm chart.
Configuration Options
True if remote execution should be enabled.
The default executor pool to use if one is not specified.
Example Configuration
config.yaml
Executor config
BuildBuddy RBE executors take their own configuration file that is pulled from/config.yaml on the executor docker image. Using BuildBuddy’s Enterprise Helm chart will take care of most of this configuration for you.
Here is an example:
config.yaml
Container registry authentication
By default, executors will respect the container registry configuration in~/.docker/config.json. The format of this file is described here.
Any credential helpers configured there will be respected.
For convenience, per-registry credentials can also be statically configured
in the executor config YAML. These credentials will take priority over the
configuration in ~/.docker/config.json.
Here is an example:
config.yaml
config.yaml
Executor environment variables
In addition to the config.yaml, there are also environment variables that executors consume. To get more information about their environment. All of these are optional, but can be useful for more complex configurations.The amount of memory (in bytes) that this executor is allowed to consume. Defaults to free system memory.
The amount of CPU that this executor is allowed to consume. Can be a core count such as
1.5 or a milli-CPU count such as 1500m. Defaults to system CPU.The name of the machine/node that the executor is running on. Defaults to empty string.
The hostname by which the app can communicate to this executor. Defaults to machine hostname.
The port over which the app can communicate with this executor. Defaults to the executor’s gRPC port.
The executor pool that this executor should be placed in. Defaults to empty string.
config.yaml