Skip to content

Commit

Permalink
Make tee ignore errors writing to a grep pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jun 29, 2022
1 parent c8b5e2b commit c53ef77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-gcp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ jobs:
--tail all \
--follow \
${{ inputs.test_id }} | \
tee /dev/stderr | \
tee --output-error=exit-nopipe /dev/stderr | \
grep --max-count=1 --extended-regexp --color=always \
'(estimated progress.*network_upgrade.*=.*Sapling)|(test result:.*finished in)' \
"
Expand Down Expand Up @@ -576,7 +576,7 @@ jobs:
--tail ${{ env.EXTRA_LOG_LINES }} \
--follow \
${{ inputs.test_id }} | \
tee /dev/stderr | \
tee --output-error=exit-nopipe /dev/stderr | \
grep --max-count=1 --extended-regexp --color=always \
'(verified final checkpoint)|(test result:.*finished in)' \
"
Expand Down Expand Up @@ -634,7 +634,7 @@ jobs:
--tail ${{ env.EXTRA_LOG_LINES }} \
--follow \
${{ inputs.test_id }} | \
tee /dev/stderr | \
tee --output-error=exit-nopipe /dev/stderr | \
grep --max-count=1 --extended-regexp --color=always \
'test result:.*finished in' \
"
Expand Down

0 comments on commit c53ef77

Please sign in to comment.