Skip to content

Commit 29f81de

Browse files
authored
ci: add retry logic to debian canaries (#1678)
Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
1 parent 4e3d3fa commit 29f81de

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/canary-deb.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@ jobs:
2727
canary-deb:
2828
name: Test Finch APT repo health
2929
runs-on: ubuntu-latest
30-
timeout-minutes: 2
30+
timeout-minutes: 10
3131
steps:
3232
- name: Checkout canary script
3333
uses: actions/checkout@v6.0.1
3434
with:
3535
sparse-checkout: |
3636
scripts/canary-deb.sh
37-
- name: Run canary script
38-
run: ./scripts/canary-deb.sh
37+
- name: Run canary script with retry
38+
uses: nick-fields/retry@v3
39+
with:
40+
timeout_minutes: 2
41+
max_attempts: 3
42+
retry_wait_seconds: 30
43+
command: ./scripts/canary-deb.sh

0 commit comments

Comments
 (0)