Skip to content

Commit

Permalink
add backoff retry
Browse files Browse the repository at this point in the history
- when no artifacts are found, retry for up to ~ 4 minutes
- when we end up with undeleted artifacts, retry for up to ~ 20 minutes

This is an attempt to work around occasional github caching issues
that users have reported (not always reproducable).
  • Loading branch information
christian-korneck committed Apr 8, 2021
1 parent a45689e commit 4cee595
Show file tree
Hide file tree
Showing 5 changed files with 643 additions and 118 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/init_testrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
steps:
- name: create two dummy files
run: |
echo test > test1.txt
echo test2 > test2.txt
dd if=/dev/random of=test1.dump bs=64M count=1
dd if=/dev/zero of=test2.dump bs=32M count=32 iflag=fullblock
- name: upload dummy artifact 1
uses: actions/upload-artifact@v1
with:
name: test1
path: ./test1.txt
path: ./test1.dump
- name: upload dummy artifact 2
uses: actions/upload-artifact@v1
with:
name: test2
path: ./test2.txt
path: ./test2.dump
# Use the output from the `hello` step
call_webhook:
needs: [create_dummy_artifacts]
Expand Down

0 comments on commit 4cee595

Please sign in to comment.