-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate $BAZEL_OPTS to all implicit build commands
Bazel expects the cache to be remote for all executions of the initial build of Gerrit, because of [1]. Failing to set the remote cache server URL would result in a file transfer failure and therefore the failure of the whole build. Adding the "build $BAZEL_OPTS" in the user.bazelrc resolves the problem. Also add the explicit fetch of the PolyGerrit NPM repositories which aren't automatically fetched when the workspace is refreshed from the remote Git repository. This is mandatory for preventing the build to fail when using the local disk cache, [1] bazelbuild/bazel#20161 Bug: Issue 316936462 Change-Id: I4cd6b4167c4025fe05d852d16f7cea5042046787
- Loading branch information
1 parent
5df7801
commit 076389e
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters