Skip to content

Commit

Permalink
chore(ci): Add apt retries to cross builds
Browse files Browse the repository at this point in the history
To see if this helps with flakey apt installs.

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed Jun 13, 2023
1 parent 37a662a commit 9f10830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cross/bootstrap-ubuntu.sh
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 9f10830

Please sign in to comment.