diff options
author | Colin Cross <ccross@android.com> | 2021-03-12 17:24:45 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-03-18 16:17:34 -0700 |
commit | ef972743e8d4c047bbba7747caf3e90215889eb0 (patch) | |
tree | b124f331b62463ed7b1745a4e65262ec7b06ee88 /java/java_test.go | |
parent | 77cdcfdeafd383ef1f1214226c47eb20c902a28f (diff) |
Support sbox-in-RBE
Allow passing a remoteexec.REParams to RuleBuilder to configure it to
run the rule remotely through RBE. Requires the rule to use
SandboxInputs, which ensures that RuleBuilder is aware of all of the
inputs and outputs of the rule.
Running sbox in RBE initially seems unnecessary, as RBE is already a
good sandbox, but reproxy can execute RBE actions locally when configured
for local execution, local fallback or racing. Using sbox in RBE ensures
that these local actions are also sandboxed, giving consistent results
between directly executed actions, local RBE actions, and remote RBE
actions.
Bug: 182612695
Test: manual
Change-Id: Icf2f24dde8dee833eb680ba22566a8e1c0143b15
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions