zarf
zarf copied to clipboard
Support retries on package publishing
Is your feature request related to a problem? Please describe.
Zarf currently supports a configurable number of retries for the package deploy command. This is useful for certain environments that are prone to zarf image pushes into the zarf registry timing out or failing.
Similarly, some environments can have issues that interrupt publishing packages to a registry partway through. It would be helpful if zarf supported configurable retries for package publishing like it does for deploys to provide a workaround for these kinds of issues.
While the correct fix would be to resolve whatever is causing the issue, many times the issue is outside the control of those using zarf in a given environment and having more tools to workaround things is nice.
Describe the behavior you'd like
- Given a package publish command
- When an error is encountered that would normally cause zarf to throw an error and stop
- Then zarf retries up to the configured retry limit