Skip to content

Commit

Permalink
Poll for job status even for non-PR usecases (#82)
Browse files Browse the repository at this point in the history
It is important also for non-PR jobs to see progress of TF in executing
the testing job so that the INFRA state can be parsed from TF's output
and job result can be set as final result of the GitHub Action job.
  • Loading branch information
zmiklank authored Aug 31, 2023
1 parent e29131b commit e069805
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ runs:

- name: Check if scheduled test is still running
id: still_running
if: ${{ inputs.update_pull_request_status == 'true' }}
run: |
CMD=${{ inputs.api_url }}/requests/${{ steps.sched_test.outputs.req_id }}
curl $CMD > job.json
Expand All @@ -259,7 +258,6 @@ runs:

- name: Get final state of Testing Farm scheduled request
id: final_state
if: ${{ inputs.update_pull_request_status == 'true' }}
run: |
curl ${{ inputs.api_url }}/requests/${{ steps.sched_test.outputs.req_id }} > job.json
if [ "${{ inputs.debug }}" == "true" ]; then
Expand Down

0 comments on commit e069805

Please sign in to comment.