ci: update windows CI bazelrc (#29542)

PR Close #29542
This commit is contained in:
Filipe Silva 2019-03-27 13:17:48 +00:00 committed by Miško Hevery
parent a2f8f5595f
commit 3c11646dd3
1 changed files with 10 additions and 4 deletions

View File

@ -2,15 +2,17 @@
# We do this by copying this file to /etc/bazel.bazelrc at the start of the build. # We do this by copying this file to /etc/bazel.bazelrc at the start of the build.
# See documentation in /docs/BAZEL.md # See documentation in /docs/BAZEL.md
# Save downloaded repositories in a location that can be cached by CodeFresh. This helps us # Save downloaded repositories in a location that can be cached by CodeFresh and shared between
# speeding up the analysis time significantly with Bazel managed node dependencies on the CI. # builds. This helps speed up the analysis time significantly with Bazel managed node dependencies
# build --repository_cache=C:/codefresh/volume/bazel_repository_cache # on the CI.
# https://codefresh.io/docs/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/#caching-the-artifacts-of-your-build-system
build --repository_cache=C:/codefresh/volume/bazel_repository_cache
# Don't be spammy in the logs # Don't be spammy in the logs
# TODO(gmagolan): Hide progress again once build performance improves # TODO(gmagolan): Hide progress again once build performance improves
# Presently, CircleCI can timeout during bazel test ... with the following # Presently, CircleCI can timeout during bazel test ... with the following
# error: Too long with no output (exceeded 10m0s) # error: Too long with no output (exceeded 10m0s)
# build --noshow_progress build --noshow_progress
# Print all the options that apply to the build. # Print all the options that apply to the build.
# This helps us diagnose which options override others # This helps us diagnose which options override others
@ -34,6 +36,10 @@ build --verbose_failures=true
build --action_env=PATH build --action_env=PATH
test --action_env=PATH --test_env=PATH test --action_env=PATH --test_env=PATH
# Disable watchfs on Windows as it causes tests to be flaky
# https://github.com/angular/angular/issues/29541
build --nowatchfs
# Exclude tests known to not work on Windows. # Exclude tests known to not work on Windows.
# Chrome web tests are currently broken. # Chrome web tests are currently broken.