NativeLink is an open source high-performance build cache and remote execution server, compatible with Bazel, Buck2, Reclient, and other RBE-compatible build systems. It offers drastically faster builds, reduced test flakiness, and specialized hardware.
Previously, the docker compose example used a default instance_name of "main", which meant that --remote_instance_name=main needed to be added to Bazel to get it to work as expected. This can be confusing for people who are just getting started and unfamiliar with all of the available configuration options. Since the value defaults to an empty string if this configuration item isn't provided, using that in the example should make it easier for someone to spin-up.
Fixes #1484
Type of change
Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Manually
Checklist
[x] Updated documentation if needed (n/a)
[x] Tests added/amended (n/a)
[x] bazel test //... passes locally
[x] PR is contained in a single commit, using git amend see some docs
Description
Previously, the
docker compose
example used a defaultinstance_name
of "main", which meant that--remote_instance_name=main
needed to be added to Bazel to get it to work as expected. This can be confusing for people who are just getting started and unfamiliar with all of the available configuration options. Since the value defaults to an empty string if this configuration item isn't provided, using that in the example should make it easier for someone to spin-up.Fixes #1484
Type of change
How Has This Been Tested?
Manually
Checklist
bazel test //...
passes locallygit amend
see some docsThis change is