This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: rename cache key * ci: remove unneeded yarn install since it's already run in previous step * build: set `noshow_progress`, `announce_rc` and `repository_cache` bazel flags * ci: add disk_cache * ci: add `--incompatible_strict_action_env` * ci: update cache key
- Loading branch information
1 parent
192c479
commit 2f9ad88
Showing
3 changed files
with
24 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
# Echo all the configuration settings and their source | ||
build --announce_rc | ||
|
||
# Don't be spammy in the logs | ||
build --noshow_progress | ||
|
||
# Bazel configuration that will be copied to /etc/bazel.bazelrc in CircleCI containers. | ||
# This allows us adding specific configuration flags for builds within CircleCI. | ||
# See more: https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files | ||
|
||
# Save downloaded repositories in a location that can be cached by CircleCI. This helps us | ||
# speeding up the analysis time significantly with Bazel managed node dependencies on the CI. | ||
build --experimental_repository_cache=/home/circleci/bazel_repository_cache | ||
build --repository_cache=/home/circleci/bazel_repository_cache | ||
|
||
# Retry in the event of flakes, eg. https://circleci.com/gh/angular/universal/1768 | ||
test --flaky_test_attempts=2 | ||
|
||
# More details on failures | ||
build --verbose_failures=true | ||
|
||
# Setup disk cache | ||
build --disk_cache=/home/circleci/bazel_disk_cache | ||
test --disk_cache=/home/circleci/bazel_disk_cache |
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