Skip to content

Commit 4782afa

Browse files
authored
chore: add retry logic to e2e resource cleanup workflow (#3001)
* feat: add retry logic to e2e resource cleanup workflow * add changeset
1 parent 95cc1a4 commit 4782afa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/poor-terms-mix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/e2e_resource_cleanup.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ jobs:
3636
role-to-assume: arn:aws:iam::${{ matrix.testAccount }}:role/e2e-resource-cleanup
3737
aws-region: ${{ matrix.region }}
3838
- name: Run E2E resource cleanup
39-
run: npm run e2e:cleanup-resources
39+
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # version 3.0.2
40+
with:
41+
max_attempts: 3
42+
retry_wait_seconds: 60 # wait a minute before retrying
43+
timeout_minutes: 15 # these don't typically take long
44+
command: npm run e2e:cleanup-resources

0 commit comments

Comments
 (0)