Skip to content

Commit

Permalink
Stop waiting for BES upload during dev builds (#36)
Browse files Browse the repository at this point in the history
Optimize BES upload configuration based on
MobileNativeFoundation/rules_xcodeproj#2855.
  • Loading branch information
mattrobmattrob authored Jan 5, 2024
1 parent 2fdba0a commit 2a8ec90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ build:remote_cache --remote_timeout=3600
# https://bazel.build/reference/command-line-reference#flag--experimental_remote_cache_compression
build:remote_cache --experimental_remote_cache_compression

# Only wait for BES upload in CI builds but not dev builds.
#
# https://bazel.build/reference/command-line-reference#flag--bes_upload_mode
build:remote_cache --bes_upload_mode=nowait_for_upload_complete
build:ci --bes_upload_mode=wait_for_upload_complete

# By default don't upload local results to remote cache, only CI does this.
build --noremote_upload_local_results
build:ci --remote_upload_local_results
Expand Down

0 comments on commit 2a8ec90

Please sign in to comment.