Skip to content

Commit 6c30bee

Browse files
kkysenthedataking
authored andcommitted
Remove the apt-get retry loop in provision_dep.sh.
It used to be there as the script ran in CI, but it no longer is, so we don't need to retry anymore. See #770 (comment).
1 parent cd219da commit 6c30bee

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

scripts/provision_deb.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,7 @@ SCRIPT_DIR="$(dirname "$0")"
1515
# Configure apt to avoid to avoid provisioning slowdowns
1616
echo "Acquire::ForceIPv4 \"true\";" > /etc/apt/apt.conf.d/99force-ipv4
1717

18-
# Retry the `apt-get update` command a few times upon failure
19-
# to work around transient network problems in CI.
20-
n=0
21-
tries=5
22-
until [ $n -ge $tries ]
23-
do
24-
apt-get update -qq && break
25-
n=$[$n+1]
26-
sleep 30
27-
done
18+
apt-get update -qq
2819

2920
apt-get install -y --no-install-recommends \
3021
apt-utils \

0 commit comments

Comments
 (0)