Skip to content

Commit a9b6257

Browse files
authored
Use self-hosted Bazel cache (#123)
## What is the goal of this PR? Speed up CI by using self-hosted remote Bazel cache ## What are the changes implemented in this PR? Import `/opt/credentials/bazel-remote-cache.rc`which configures remote caching
1 parent 7c78ea5 commit a9b6257

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.bazelrc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,5 @@ build --incompatible_strict_action_env --javacopt='--release 8'
1919
run --incompatible_strict_action_env
2020
test --incompatible_strict_action_env
2121

22-
# what is defined in this section will be applied when bazel is invoked like this: bazel ... --config=rbe ...
23-
build:rbe --project_id=grakn-dev
24-
build:rbe --remote_cache=cloud.buildbuddy.io
25-
build:rbe --bes_backend=cloud.buildbuddy.io
26-
build:rbe --bes_results_url=https://app.buildbuddy.io/invocation/
27-
build:rbe --tls_client_certificate=/opt/credentials/buildbuddy-cert.pem
28-
build:rbe --tls_client_key=/opt/credentials/buildbuddy-key.pem
29-
build:rbe --remote_timeout=3600
22+
try-import /opt/credentials/bazel-remote-cache.rc
23+

0 commit comments

Comments
 (0)