CircleCI-Public / cimg-base

The CircleCI Base (Ubuntu) Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/base
MIT License
74 stars 42 forks source link

Add Retry Command #222

Closed felixshiftellecon closed 1 year ago

felixshiftellecon commented 1 year ago

Often users need to retry commands due to hiccups, flakiness, etc. It would be helpful if a retry command was added to this base image similar to this one](https://github.com/kadwanev/retry).

FelicianoTech commented 1 year ago

Hi. This sounds reasonable. We will likely consider adding something like this but it will take a little bit to determine which project/command we actually want. I'm not sold on the one provided. I'm aiming to get this resolved before the February release of this image.

BytesGuy commented 1 year ago

A retry command will be included in cimg base moving forward. It is the version installable via default ubuntu apt repos as this seemed to be the most appropriate and provides similar functionality to the one previously linked: https://packages.ubuntu.com/jammy/retry