aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-09-05 18:06:18 -0600
committerEd Santiago <santiago@redhat.com>2022-09-05 18:06:18 -0600
commitc2c910736cbf7cd4a43c842124316f0918935063 (patch)
treec389e87b2ac4e62221bda841e40a72e6bb0749a6
parent8882b7664d225bf7f8efac6ab10e8d583e48c712 (diff)
downloadpodman-c2c910736cbf7cd4a43c842124316f0918935063.tar.gz
podman-c2c910736cbf7cd4a43c842124316f0918935063.tar.bz2
podman-c2c910736cbf7cd4a43c842124316f0918935063.zip
CI: Cirrus setup: retry failed curls
We're seeing a huge number of "unknown failure" flakes, and all seem to be in the 'clone' step, failing with: echo "$ARTCURL..." curl ... https://api.cirrus-ci.com/.../repo.tbz (lots of pretty curl output lines) curl: (22) The requested URL returned error: 502 Solution: use --retry, which will backoff-retry transient failures. Start with a backoff of 8s, not the default 1. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--.cirrus.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 628b74f72..dc0735836 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -61,7 +61,7 @@ env:
# Curl-command prefix for downloading task artifacts, simply add the
# the url-encoded task name, artifact name, and path as a suffix.
ARTCURL: >-
- curl --fail --location -O
+ curl --retry 5 --retry-delay 8 --fail --location -O
--url https://api.cirrus-ci.com/v1/artifact/build/${CIRRUS_BUILD_ID}