mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-04-29 14:35:59 +02:00
Add timeout and retry logic to adsb-reduce artifact download step
Co-authored-by: ggman12 <17393221+ggman12@users.noreply.github.com>
This commit is contained in:
@@ -240,6 +240,7 @@ jobs:
|
|||||||
adsb-reduce:
|
adsb-reduce:
|
||||||
needs: [generate-matrix, adsb-map]
|
needs: [generate-matrix, adsb-map]
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
|
timeout-minutes: 120
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -255,11 +256,23 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Download all chunk artifacts
|
- name: Download all chunk artifacts
|
||||||
|
id: download
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: adsb-map-*
|
pattern: adsb-map-*
|
||||||
path: data/output/adsb_chunks/
|
path: data/output/adsb_chunks/
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
timeout-minutes: 60
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Retry artifact download on failure
|
||||||
|
if: steps.download.outcome == 'failure'
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
pattern: adsb-map-*
|
||||||
|
path: data/output/adsb_chunks/
|
||||||
|
merge-multiple: true
|
||||||
|
timeout-minutes: 60
|
||||||
|
|
||||||
- name: Debug downloaded files
|
- name: Debug downloaded files
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user