Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 965 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 965 Bytes

Test against any remote execution cluster. I used the simple Buildfarm cluster explained in their Quick Start Wiki (remote execution section)

From this workspace, run:

bazelisk build :main --remote_cache=<re cluster> --experimental_allow_tags_propagation
bazelisk clean
bazelisk build :main --remote_cache=<re cluster> --experimental_allow_tags_propagation

You should see cache hits

Now run:

bazelisk build :main --remote_executor=<re cluster> --experimental_allow_tags_propagation
bazelisk clean
bazelisk build :main --remote_executor=<re cluster> --experimental_allow_tags_propagation

You should not see cache hits.

Attribution: The code in this repo was borrowed from the Buildfarm Quick Start Wiki, with the tags = ["no-remote-exec"] stuff and the .bazelversion file added.