Skip to content

Commit

Permalink
fix: retries in earthly-ci (#10889)
Browse files Browse the repository at this point in the history
Late night exhausted mistakes :')
  • Loading branch information
ludamad authored Dec 19, 2024
1 parent 2454a26 commit 804cd7f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/earthly-ci
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ while [ $ATTEMPT_COUNT -lt $MAX_ATTEMPTS ]; do
|| grep 'docker: failed to write digest data' >/dev/null \
|| grep 'docker: unexpected EOF' $OUTPUT_FILE >/dev/null; then
# try to wait it out
echo sleep 20
echo "earthly-ci: recoverable error, waiting 20 seconds"
sleep 20
else
exit $earthly_exit_code
fi
exit $earthly_exit_code
fi
done
done

0 comments on commit 804cd7f

Please sign in to comment.