Skip to content

Commit

Permalink
no tee
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Jan 5, 2024
1 parent 9c51f73 commit cb15118
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/job-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,14 @@ jobs:
id: executejob
continue-on-error: true
run: |
timeout 150 \
# NOTE: we can't use `2>&1 | tee execute.log` b/c it hangs forever
# so if the command fails (for example b/c it doesn't have the right requirements)
# then we wont' be able to see the errors until we run it without redirecting output
pangeo-forge-runner \
bake \
--repo=${{ github.event.inputs.repo }} \
--ref=${{ github.event.inputs.ref }} \
-f .github/workflows/config.py 2>&1 | tee execute.log
-f .github/workflows/config.py > execute.log
# export all the valuable information from the logs
JOB_NAME=$(cat execute.log | grep -oP 'flinkdeployment\.flink\.apache\.org/\K[^ ]+' | head -n1)
Expand Down

0 comments on commit cb15118

Please sign in to comment.