Skip to content

Commit 53a9c27

Browse files
devversionjelbourn
authored andcommitted
build: print enabled bazel flags on circleci
We should print all enabled bazel flags on CircleCI. This can help with debugging and also makes it easier to reproduce CI-specific failures.
1 parent b60e070 commit 53a9c27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/bazel.rc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# This allows us adding specific configuration flags for builds within CircleCI.
33
# See more: https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files
44

5+
# Print all enabled Bazel flags in CI mode. This makes it easier to debug and reproduce
6+
# Bazel issues that show up on CircleCI.
7+
common --announce_rc
8+
59
# Save downloaded repositories in a location that can be cached by CircleCI. This helps us
610
# speeding up the analysis time significantly with Bazel managed node dependencies on the CI.
711
build --repository_cache=/home/circleci/bazel_repository_cache

0 commit comments

Comments
 (0)