diff --git a/.github/workflows/job-runner.yaml b/.github/workflows/job-runner.yaml index a8c6de0..e64a976 100644 --- a/.github/workflows/job-runner.yaml +++ b/.github/workflows/job-runner.yaml @@ -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)