Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retry logic #5

Merged
merged 11 commits into from
Jan 25, 2024
Merged

Add retry logic #5

merged 11 commits into from
Jan 25, 2024

Conversation

walkowif
Copy link
Contributor

Retry the following processes in case of errors other than authentication error:

  • cloning source repository
  • getting branches and tags from remote
  • fetching branches from source repository
  • pushing refs to destination repository

@walkowif walkowif requested a review from a team as a code owner January 25, 2024 11:52
Copy link

github-actions bot commented Jan 25, 2024

Unit Tests Summary

1 tests   1 ✅  0s ⏱️
2 suites  0 💤
1 files    0 ❌

Results for commit 58724d0.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 25, 2024

badge

Code Coverage Summary

Filename         Stmts    Miss  Cover    Missing
-------------  -------  ------  -------  ---------------
cmd/mirror.go      327     312  4.59%    68-449
cmd/root.go        115     112  2.61%    58-132, 139-191
cmd/utils.go        10       9  10.00%   23-34
TOTAL              452     433  4.20%

Diff against main

Filename         Stmts    Miss  Cover
-------------  -------  ------  -------
cmd/mirror.go      +50     +50  -0.83%
TOTAL              +50     +50  -0.52%

Results for commit: 58724d0

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

cmd/mirror.go Outdated Show resolved Hide resolved
@walkowif walkowif requested a review from cicdguy January 25, 2024 15:50
cmd/mirror.go Outdated Show resolved Hide resolved
cmd/mirror.go Outdated Show resolved Hide resolved
@walkowif walkowif merged commit f841548 into main Jan 25, 2024
7 checks passed
@walkowif walkowif deleted the add-retry-logic branch January 25, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants