Skip to content
New issue

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

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

Already on GitHub? # to your account

Add retry to kubectl-ng publishing #465

Merged

Conversation

jacobtomlinson
Copy link
Member

For the last few releases the kubectl-ng release has failed because it depends on the verison of kr8s that was pushed immediatly before it. It takes some time for the new version to be available on PyPI and this race condition is causing releases to fail.

This PR adds some retry logic so that if kr8s isn't available yet it waits 15 seconds and tries again. I also added a 30 minute workflow timeout so that if something goes wrong it doesn't retry for too long.

@jacobtomlinson jacobtomlinson merged commit c5bda93 into kr8s-org:main Aug 1, 2024
2 of 3 checks passed
@jacobtomlinson jacobtomlinson deleted the kubectl-ng-publish-retry branch August 1, 2024 12:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant