Skip to content
Snippets Groups Projects
  1. Nov 26, 2024
  2. Jul 28, 2024
  3. Jul 20, 2024
  4. Aug 18, 2023
  5. Aug 23, 2022
  6. Jun 08, 2022
  7. Apr 13, 2022
    • 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
  8. Feb 14, 2021
    • Kristian Klausen's avatar
      Make ansible-lint happy · 4112bdf9
      Kristian Klausen authored
      yaml: truthy value should be one of [false, true] (truthy)
      yaml: wrong indentation: expected 4 but found 2 (indentation)
      yaml: too few spaces before comment (comments)
      yaml: missing starting space in comment (comments)
      yaml: too many blank lines (1 > 0) (empty-lines)
      yaml: too many spaces after colon (colons)
      yaml: comment not indented like content (comments-indentation)
      yaml: no new line character at the end of file (new-line-at-end-of-file)
      load-failure: Failed to load or parse file
      parser-error: couldn't resolve module/action 'hosts'. This often indicates a misspelling, missing collection, or incorrect module path.
      4112bdf9
  9. Oct 17, 2020
    • Kristian Klausen's avatar
      certbot: Disable built-in random-sleep · b0d30dd4
      Kristian Klausen authored
      certbot by default sleep 1-480 seconds before renewing, to avoid all
      people renewing at :00. In our case the logic is is unnecessary as
      systemd is handling it (RandomizedDelaySec=24h).
      b0d30dd4
  10. Sep 23, 2020
  11. Jun 17, 2020
  12. Jun 12, 2020
  13. May 14, 2019
  14. Mar 24, 2019
Loading