Skip to content

Commit

Permalink
builder: Set apt retries to 3
Browse files Browse the repository at this point in the history
This should lower the number of builds that failed due to
repositories being unstable
  • Loading branch information
sfalexrog committed May 29, 2020
1 parent abb4952 commit 69c4678
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builder/image-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ my_travis_retry() {
return $result
}

echo_stamp "Increase apt retries"

echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries

echo_stamp "Install apt keys & repos"

# TODO: This STDOUT consist 'OK'
Expand Down

0 comments on commit 69c4678

Please sign in to comment.