ci: retry verified package indexes before ecosystem tests
This commit is contained in:
1 parent
5798999691
commit
8f842a7f08
1 file changed
+10
-1
+10
-1
@@ -22,9 +22,18 @@ steps:
|
||||
image: mcr.microsoft.com/playwright:v1.49.0-noble
|
||||
depends_on: [layout]
|
||||
commands:
|
||||
- apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git python3 python3-jsonschema build-essential
|
||||
- |
|
||||
set -eu
|
||||
for attempt in 1 2 3; do
|
||||
if apt-get -o Acquire::By-Hash=force -o Acquire::Retries=3 update --error-on=any; then
|
||||
break
|
||||
fi
|
||||
if [ "$attempt" -eq 3 ]; then
|
||||
exit 1
|
||||
fi
|
||||
sleep 15
|
||||
done
|
||||
apt-get -o Acquire::Retries=3 install -y --no-install-recommends ca-certificates curl git python3 python3-jsonschema build-essential
|
||||
curl -fsSL --retry 3 https://sh.rustup.rs -o /tmp/marqdo-rustup.sh
|
||||
sh /tmp/marqdo-rustup.sh -y --profile minimal --default-toolchain 1.100.0 --no-modify-path
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
Reference in new issue
Block a user