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.
For the last few releases the
kubectl-ng
release has failed because it depends on the verison ofkr8s
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.