ci: pin Linux build RIDs across stages and retry runtime fetches [CI]
This commit is contained in:
1 parent
806493567b
commit
a867c9f7f6
3 files changed
+17
-3
No files matched your search
@@ -24,7 +24,7 @@ esac
|
||||
download() {
|
||||
local url="$1" destination="$2"
|
||||
if [[ ! -s "$destination" ]]; then
|
||||
curl --fail --silent --show-error --retry 3 "$url" -o "$destination"
|
||||
curl --fail --silent --show-error --retry 3 --retry-all-errors "$url" -o "$destination"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ unpack_cache="$downloads/unpacked"
|
||||
mkdir -p "$package_cache" "$unpack_cache"
|
||||
|
||||
msquic_index='https://packages.microsoft.com/debian/12/prod/pool/main/libm/libmsquic/'
|
||||
msquic_file="$(curl --fail --silent --show-error --retry 3 "$msquic_index" \
|
||||
msquic_file="$(curl --fail --silent --show-error --retry 3 --retry-all-errors "$msquic_index" \
|
||||
| grep -oE "libmsquic_[0-9]+(\.[0-9]+){1,3}_${deb_arch}\.deb" \
|
||||
| sort -Vu | tail -n 1)"
|
||||
[[ -n "$msquic_file" ]] || { echo "could not find a stable MsQuic package for $deb_arch" >&2; exit 1; }
|
||||
|
||||
Reference in new issue
Block a user