Skip to content

ci: Always retry the image build step

Jonas Ådahl requested to merge jadahl/mutter:wip/retry-image-build into main

The image build step is prone to race conditions, e.g. token changes. It also tends to hit sporadic connection errors to FDO's gitlab. To minimize the risk of these types of issues block pipelines, always retry the image building step if it failed.

This has the unwanted consequence that changes to the image building that results in the script actually failing, but right now there doesn't appear to be a way to distinguish between actual build errors, and the mentioned race conditions, as both cause the script to fail.

Merge request reports