mirror of
https://github.com/FRRouting/frr.git
synced 2026-01-11 20:07:27 +00:00
Ubuntu package mirrors can experience transient failures during CI runs, causing builds to fail with 404 errors even though the packages exist. Similarly, fetching GPG keys from external servers may fail due to temporary network issues. This patch introduces an APT_RETRIES build argument (defaulting to 3) that controls the number of retry attempts for network operations. The apt configuration is updated to use Acquire::Retries along with reasonable timeouts for http and https connections. The apt-get update commands are wrapped in retry loops that sleep for 10 seconds between attempts, giving mirrors time to recover. The same pattern is applied to the curl command that fetches the FRR GPG key for the package repository. The github-ci.yml workflow receives the same retry treatment for its apt-get update call during test environment setup. Signed-off-by: Vincent Jardin <vjardin@free.fr> |
||
|---|---|---|
| .. | ||
| alpine | ||
| centos-7 | ||
| centos-8 | ||
| debian | ||
| ubi8-minimal | ||
| ubuntu-ci | ||
| ubuntu20-ci | ||
| ubuntu22-ci | ||
| ubuntu24-ci | ||
| .gitignore | ||