Skip to content

retry on curl server errors when downloading cbuild

Benjamin Tissoires requested to merge bentiss/ci-templates:retry-curl into master

We sometimes have k8s recoverable errors on gitlab.fd.o, and this can lead to not being able to download cbuild.

This makes the whole template failing because we do not have the script properly downloaded.

So detect server errors and retry up to 4 times.

Same solution than mesa/mesa!20788 (merged)

Fixes #57 (closed)

Merge request reports

Loading