From 9f108304e6e358cde94a32a03f4444fe17d9f611 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Tue, 13 Jun 2023 10:51:54 -0700 Subject: [PATCH] chore(ci): Add apt retries to cross builds To see if this helps with flakey apt installs. Signed-off-by: Jesse Szwedko --- scripts/cross/bootstrap-ubuntu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cross/bootstrap-ubuntu.sh b/scripts/cross/bootstrap-ubuntu.sh index 1b4889604b06b..cf053aa365b20 100755 --- a/scripts/cross/bootstrap-ubuntu.sh +++ b/scripts/cross/bootstrap-ubuntu.sh @@ -1,6 +1,8 @@ #!/bin/sh set -o errexit +echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries + apt-get update apt-get install -y \ apt-transport-https \