Skip to content
Snippets Groups Projects
  1. Apr 15, 2022
    • Kristian Klausen's avatar
      Avoid single point-of-failure for our GeoIP domain · aa359082
      Kristian Klausen authored
      We don't want mirror.pkgbuild.com's DNS server to be a
      single-point-of-failure, so this commit adds multiple authoritative DNS
      servers for the zone. The extra DNS servers are run on the geomirror
      servers.
      
      The _acme-challenge zone, used for obtaining certificates, is run solely
      on mirror.pkgbuild.com's DNS server, to avoid syncing DNS records
      between the servers (KISS).
      aa359082
  2. Apr 13, 2022
    • Evangelos Foutras's avatar
      Enable certbot_dns_support for geo mirrors only · 64ec52ca
      Evangelos Foutras authored
      mirror.pkgbuild.com doesn't need it.
      64ec52ca
    • Kristian Klausen's avatar
      Add GeoIP domain for our sponsored mirros · 9f65f99c
      Kristian Klausen authored
      We had a GeoIP mirror in the past based on nginx and its GeoIP module,
      but it didn't perform very well, due to the high latency (asking a
      central server for the package and then redirected to the closest
      mirror).
      
      One of the reasons for offering this service, is so we can relieve
      mirror.pkgbuild.com which is burning a ton of traffic (50TB/month),
      likely due to it being the default mirror in our Docker image. Another
      reason is so we can offer a link to our arch-boxes images in libosinfo
      (used by gnome-boxes, virt-install and virt-manager), with good enough
      performance for most users.
      
      This time we take a different approach and use a DNS based solution,
      which means the latency penalty is only paid once (the first DNS
      request). The downside is that the mirrors must have a valid certificate
      for the same domain name, which makes using third-party mirrors a
      challenge. So for now, we are just using the sponsored mirorrs
      controlled by the DevOps team.
      
      Fix #101
      9f65f99c
  3. Apr 11, 2022
  4. Mar 27, 2022
  5. Mar 05, 2022
    • Evangelos Foutras's avatar
      tasks/upgrade-servers: tweak pacman upgrade logic · 7d5fd109
      Evangelos Foutras authored
      Avoid updating the cache in the same task w/ the upgrade as the former
      causes the combined task to always return changed=True. For up-to-date
      hosts, stop early instead of following through to the end and skipping
      the final reboot task.
      
      Before Ansible 5.4.0, combined cache update + package upgrade would not
      always return changed=True but instead depended on whether the were any
      packages to upgrade.
      7d5fd109
  6. Mar 04, 2022
  7. Feb 26, 2022
  8. Feb 25, 2022
  9. Feb 09, 2022
  10. Feb 05, 2022
  11. Feb 04, 2022
  12. Jan 30, 2022
  13. Jan 23, 2022
  14. Jan 21, 2022
  15. Jan 09, 2022
    • Evangelos Foutras's avatar
      tasks: stop arch-svntogit.timer before rebooting · b6972fda
      Evangelos Foutras authored
      In a recent execution of the server upgrade task, svntogit was started
      shortly before the reboot command was issued. Therefore, it was killed
      two seconds into its run, leaving behind a lock file that prevented it
      from starting again after gemini was rebooted.
      
      Avoid the above timing issue by stopping the timer before rebooting.
      b6972fda
  16. Jan 02, 2022
  17. Dec 16, 2021
  18. Nov 06, 2021
  19. Oct 27, 2021
  20. Oct 04, 2021
  21. Oct 02, 2021
  22. Sep 10, 2021
  23. Sep 02, 2021
  24. Aug 24, 2021
  25. Aug 23, 2021
  26. Aug 22, 2021
Loading