hauler-dev / hauler

Airgap Container Swiss Army Knife
https://hauler.dev
Apache License 2.0
119 stars 28 forks source link

[feature] Add retries to Hauler for unstable networks #284

Open gnoling opened 1 month ago

gnoling commented 1 month ago

Is this RFE related to an Existing Problem? If so, please describe:

Describe Proposed Solution(s):

Describe Possible Alternatives:

Additional Context:

amartin120 commented 1 month ago

Currently hauler store sync will retry things up to 3 times. It's just currently not flexible as to the "number" of retries. That's probably something that could be done though. I think the original thought was, if we tried 3 times and it still fails... it's just not going.

hauler store copy is currently the exception as it just passes a directory to cosign load and says... go do it. This will take some effort in our cosign fork if we want to include retries there.