mirror of
https://github.com/storytold/craft-common-actions.git
synced 2026-11-15 15:02:24 +00:00
On 11 Nov 2026 no ubuntu.com name resolved on the runners for about half an hour. The images' mirror list (azure.archive, archive and security.ubuntu.com) sits entirely in that zone, so every retry spent its five minutes on 20-second lookups of the same dead names and the SonarCloud archive builds failed with "downloading the packages failed 3 times". configure-apt-mirrors points the image's Ubuntu sources at /etc/apt/craft-apt-mirrors.txt: the image's mirrors in the image's order, then mirrors.edge.kernel.org and mirrors.dotsrc.org (arm: mirrors.dotsrc.org and ftp.tu-chemnitz.de). Each mirror is checked first, in parallel; those that do not serve this release's InRelease move to the end. install-apt-packages runs it before every network attempt, and the plain apt-get steps (Flatpak, release, packaging lint, RPM signing, Linux deps, FreeBSD test) run it before apt-get update. Block-mode Harden-Runner lists allow the new hosts.