Skip to content

Commit

Permalink
docs: new parameter name for the bazel remote cache (envoyproxy#22170)
Browse files Browse the repository at this point in the history
The bazel parameter '--remote_http_cache' has been renamed to
'--remote_cache'. Use the new name.

Signed-off-by: Michael Kaufmann <michael.kaufmann@ergon.ch>
  • Loading branch information
mkauf authored Jul 14, 2022
1 parent afdc9bd commit d9030e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bazel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1009,5 +1009,5 @@ slower cache performance on macOS due to slow disk performance on Docker for Mac
Adding the following parameter to Bazel everytime or persist them in `.bazelrc`.

```
--remote_http_cache=http://127.0.0.1:28080/
--remote_cache=http://127.0.0.1:28080/
```
4 changes: 2 additions & 2 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ For a debug version of the Envoy binary you can run:
The build artifact can be found in `/tmp/envoy-docker-build/envoy/source/exe/envoy-debug` (or wherever
`$ENVOY_DOCKER_BUILD_DIR` points).

To leverage a [bazel remote cache](https://github.com/envoyproxy/envoy/tree/main/bazel#advanced-caching-setup) add the http_remote_cache endpoint to
To leverage a [bazel remote cache](https://github.com/envoyproxy/envoy/tree/main/bazel#advanced-caching-setup) add the remote cache endpoint to
the BAZEL_BUILD_EXTRA_OPTIONS environment variable

```bash
./ci/run_envoy_docker.sh "BAZEL_BUILD_EXTRA_OPTIONS='--remote_http_cache=http://127.0.0.1:28080' ./ci/do_ci.sh bazel.release"
./ci/run_envoy_docker.sh "BAZEL_BUILD_EXTRA_OPTIONS='--remote_cache=http://127.0.0.1:28080' ./ci/do_ci.sh bazel.release"
```

The `./ci/run_envoy_docker.sh './ci/do_ci.sh <TARGET>'` targets are:
Expand Down

0 comments on commit d9030e3

Please sign in to comment.