mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Use --batch for gazelle to help with timeouts on buildkite (#843)
* Use --batch for gazelle to help with timeouts on buildkite, maybe * batch for vis script too
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
exec 5>&1
|
||||
|
||||
# Run gazelle while piping a copy of the output to stdout via 5.
|
||||
changes=$(bazel --bazelrc=.buildkite-bazelrc run //:gazelle -- fix --mode=diff | tee >(cat - >&5))
|
||||
changes=$(bazel --batch --bazelrc=.buildkite-bazelrc run //:gazelle -- fix --mode=diff | tee >(cat - >&5))
|
||||
|
||||
# If the captured stdout is not empty then Gazelle has diffs.
|
||||
if [ -z "$changes" ]
|
||||
|
||||
@@ -13,7 +13,7 @@ exec 5>&1
|
||||
|
||||
# Run gazelle while piping a copy of the output to stdout via 5.
|
||||
changes=$(
|
||||
bazel --bazelrc=.buildkite-bazelrc query 'visible(//... except (//beacon-chain/... union //validator/...), (//beacon-chain/... union //validator/...))' | tee >(cat - >&5)
|
||||
bazel --batch --bazelrc=.buildkite-bazelrc query 'visible(//... except (//beacon-chain/... union //validator/...), (//beacon-chain/... union //validator/...))' | tee >(cat - >&5)
|
||||
)
|
||||
|
||||
# If the captured stdout is not empty then targets are exposed!
|
||||
|
||||
Reference in New Issue
Block a user