CircleCI-Public / helm-orb

A CircleCI Orb to simplify deployments to Kubernetes using Helm.
MIT License
11 stars 26 forks source link

Add an optional retry argument to the Orb #62

Closed qureshiather closed 1 week ago

qureshiather commented 1 year ago

What would you like to be added

I would like the ability to have retires on the helm/install-helm-client orb. This can be defaulted to one, but the caller of the orb can optionally add the amount of retries.

Why is this needed

There is intermittent issues while trying to download helm from https://get.helm.sh. This is fixed by just doing a rerun in circleci, but it would much easier if we could just retry within the step, instead of having the workflow cancel.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6666  100  6666    0     0   295k      0 --:--:-- --:--:-- --:--:--  295k
Downloading https://get.helm.sh/helm-v3.4.0-linux-amd64.tar.gz
curl: (7) Failed to connect to get.helm.sh port 443: Connection timed out