Skip to content

Commit

Permalink
chore(ci): Add apt retries to cross builds (vectordotdev#17683)
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>

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed Jun 13, 2023
1 parent f883575 commit ab1169b
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 ab1169b

Please sign in to comment.