mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00: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:
parent
e9bb4e3bde
commit
d83f960d5d
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user