Skip to content

Commit

Permalink
Fix quemu setup using to new curl options
Browse files Browse the repository at this point in the history
The build failed in driver ARM build due to the usage of `--retry-all-errors`.

The build on master also failed, because we don't use this option on `ubuntu20.04`. I think we'll need to add a manual retry loop there as a crutch for old systems with old curl.

As for now I'll move the `v0`, `v0.4` and `v0.4.0` to this new commit and this will trigger the "release-on-tag" workflow again
  • Loading branch information
Veetaha committed Nov 16, 2023
1 parent d60d770 commit 893a88b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/release/qemu-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ apt-get-install \
curl

function curl_with_retry {
# FIXME: replace `--retry-connrefused` with `--retry-all-errors` when we
# remove support for ubuntu20.04 which has an old curl version.
with_log curl \
--location \
--silent \
--show-error \
--fail \
--retry 5 \
--retry-all-errors \
--retry-connrefused \
"$@"
}

Expand Down

0 comments on commit 893a88b

Please sign in to comment.