Skip to content

Commit d1cc7a0

Browse files
filipesilvaAndrewKushnir
authored andcommitted
ci: use no_output_timeout for long jobs (angular#31266)
PR Close angular#31266
1 parent 431ddb9 commit d1cc7a0

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.circleci/bazel.rc

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
build --repository_cache=/home/circleci/bazel_repository_cache
88

99
# Don't be spammy in the logs
10-
# TODO(gmagolan): Hide progress again once build performance improves
11-
# Presently, CircleCI can timeout during bazel test ... with the following
12-
# error: Too long with no output (exceeded 10m0s)
13-
# build --noshow_progress
10+
build --noshow_progress
1411

1512
# Print all the options that apply to the build.
1613
# This helps us diagnose which options override others

.circleci/config.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ jobs:
197197
- *setup_circleci_bazel_config
198198
# Setup remote execution and run RBE-compatible tests.
199199
- *setup_bazel_remote_execution
200-
- run: yarn bazel test //... --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only
200+
- run:
201+
command: yarn bazel test //... --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only
202+
no_output_timeout: 20m
201203
- run: mkdir ~/testlogs
202204
- run: cp -Lr dist/testlogs/* ~/testlogs
203205
- store_test_results:
@@ -219,7 +221,9 @@ jobs:
219221
# We need to explicitly specify the --symlink_prefix option because otherwise we would
220222
# not be able to easily find the output bin directory when uploading artifacts for size
221223
# measurements.
222-
- run: yarn test-ivy-aot //... --symlink_prefix=dist/
224+
- run:
225+
command: yarn test-ivy-aot //... --symlink_prefix=dist/
226+
no_output_timeout: 20m
223227

224228
# Publish bundle artifacts which will be used to calculate the size change. **Note**: Make
225229
# sure that the size plugin from the Angular robot fetches the artifacts from this CircleCI
@@ -269,6 +273,7 @@ jobs:
269273
--username $SAUCE_USERNAME \
270274
--key $(echo $SAUCE_ACCESS_KEY | rev) \
271275
yarn bazel test //:test_web_all
276+
no_output_timeout: 20m
272277
- *notify_dev_infra_on_fail
273278

274279
test_aio:

0 commit comments

Comments
 (0)