diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2022-08-17 07:09:17 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2022-08-22 15:36:22 +0000 |
| commit | fd14318a8bcb5d5d7c3696af11059cc4137ae9ec (patch) | |
| tree | 2fa0ee6b6444b61ca6bf3523b502dca841ddd016 | |
| parent | 8dc092858196b6ca599f8cd2accc5d9d04f725ac (diff) | |
| download | kolla-fd14318a8bcb5d5d7c3696af11059cc4137ae9ec.tar.gz kolla-fd14318a8bcb5d5d7c3696af11059cc4137ae9ec.zip | |
curl: Add retries
Change default 0 retries to 5, that should help for transient
errors (timeouts, HTTP 408, 429, 500, 502, 503 or 504).
Change-Id: Iad3c7270579ffb38299269481ac64d5582abaa22
| -rw-r--r-- | docker/base/curlrc | 1 | ||||
| -rw-r--r-- | releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/docker/base/curlrc b/docker/base/curlrc index c1c1303e8..fe2971c8b 100644 --- a/docker/base/curlrc +++ b/docker/base/curlrc @@ -1,6 +1,7 @@ # curl default options --fail --location +--retry 5 --silent --show-error --write-out "curl (%{url_effective}): response: %{http_code}, time: %{time_total}, size: %{size_download}\n" diff --git a/releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml b/releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml new file mode 100644 index 000000000..d0134bf31 --- /dev/null +++ b/releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml @@ -0,0 +1,4 @@ +--- +other: + - | + Added '--retry 5' to curlrc to improve curl downloads during image builds. |
