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).
      Verified
      aa359082
  2. Apr 14, 2022
  3. Apr 13, 2022
    • Evangelos Foutras's avatar
      geoipupdate: download dbs on install/config change · d303a4ca
      Evangelos Foutras authored
      We want the GeoIP databases to be ready for use by software installed
      by dependant roles; run geoipupdate when it's installed or configured.
      Verified
      d303a4ca
    • 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
      Verified
      9f65f99c
  4. Apr 12, 2022
  5. Apr 11, 2022
  6. Apr 10, 2022
  7. Apr 09, 2022
  8. Apr 05, 2022
  9. Mar 28, 2022
  10. Mar 27, 2022
  11. Mar 25, 2022
  12. Mar 24, 2022
  13. Mar 19, 2022
    • Evangelos Foutras's avatar
      dbscripts: nginx: remove unnecessary unique filter · 5a6a085e
      Evangelos Foutras authored
      The intention of "unique" in "groups['buildservers'] | sort | unique"
      was to account for combining multiple groups and passing them to the
      sort and unique filters. However, with only one group it looks silly.
      Verified
      5a6a085e
    • Evangelos Foutras's avatar
      common: use tier0 mirror on build servers + gemini · b3256827
      Evangelos Foutras authored
      There is a need for build servers to never build against outdated repo
      databases, even with syncrepo providing a local mirror that is updated
      every minute. To that effect, we adjust mirrorlist on build servers so
      the first mirror is the tier0 mirror provided by gemini.
      
      Keep the syncrepo role on build servers in order to have a local cache
      of packages and avoid concurrent build jobs downloading the same files
      causing them to be corrupted.
      
      Finally, configure gemini to use its own repos (like other mirrors do).
      Verified
      b3256827
  14. Mar 18, 2022
    • Jelle van der Waa's avatar
      aurweb: rate limit git · a144aa45
      Jelle van der Waa authored
      Some users scrape our git endpoint with quite some requests per second
      (32) this is not something cgit/smartgit can handle and has caused the
      AUR to go down once (http 502).
      Verified
      a144aa45
  15. Mar 15, 2022
  16. Mar 12, 2022
  17. Mar 09, 2022
  18. Mar 06, 2022
  19. Mar 04, 2022
Loading