Skip to content

Commit

Permalink
Fix reporting of retried jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsimantov committed May 29, 2024
1 parent 806770d commit 44d8bab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,12 @@ jobs:
--token ${{github.token}} \
--actor ${{github.actor}} \
--commit ${{needs.check_and_prepare.outputs.github_ref}} \
--run_id ${{github.run_id}}
--run_id ${{github.run_id}}
- name: Print SDK package info
run: |
if [[ "${{ github.event.inputs.packaged_sdk_run_id }}" != "" ]]; then
echo "run_id: ${{ github.event.inputs.packaged_sdk_run_id }}"
end
- name: Summarize results into GitHub log
run: python scripts/gha/summarize_test_results.py --dir test_results --github_log

Expand Down
2 changes: 1 addition & 1 deletion scripts/gha/report_build_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def main(argv):
logs_zip = zipfile.ZipFile(logs_compressed_data)
m = get_message_from_github_log(
logs_zip,
r'build-20.*/.*Fetch prebuilt.*\.txt',
r'summarize-results/.*Print SDK package info.*\.txt',
r'run_id: ([0-9]+)$')
if m:
packaging_run = m.group(1)
Expand Down

0 comments on commit 44d8bab

Please sign in to comment.