Skip to content
Snippets Groups Projects
  1. Jul 30, 2022
    • Kristian Klausen's avatar
      gitlab_runner: Initial the keyring in the base image for faster boot · 466230e4
      Kristian Klausen authored
      "Disabling revoked keys in keyring" when running "pacman-key --populate"
      is very slow (easily +20 seconds), in our case the boot is now ~27
      seconds faster (tested on secure-runner1). The pacman master private key
      is removed to prevent malicious actors from injecting packages, a new
      key is generated by pacman-init.service on boot.
      Verified
      466230e4
    • Kristian Klausen's avatar
    • Kristian Klausen's avatar
      gitlab_runner: Refactor libvirt-executor · 7ea1eb29
      Kristian Klausen authored
      Changes:
      - Switch to arch-boxes' base image
      - Verify the base image's signature
      - Use the new "latest" symlink, instead of parsing the HTML for
        finding the latest arch-boxes image[1]
      - Create the base image by using arch-chroot and friends, instead of
        creating a full-blown VM
      - Create the VMs from domain XML template instead of virt-clone
      - Switch mirror to geo.mirror.pkgbuild.com
      - Try to follow "filesystem hierarchy" standards for where to place
        configuration (id_ed25519) and "vendor data" (arch-boxes.asc and
        domain_template.xml)
      - Use a ed25519 key instead of RSA key
      - Only start the "update base image" server if network and DNS are up
      - Misc fixes and cleanups
      
      [1] !552
      Verified
      7ea1eb29
  2. Jul 29, 2022
  3. Jun 08, 2022
  4. Oct 02, 2021
  5. Jun 07, 2021
  6. Jun 06, 2021
  7. 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
  8. Dec 23, 2020
    • Frederik Schwan's avatar
      don't add docker to trusted zone · e586e457
      Frederik Schwan authored
      Adding docker0 to a trusted zone creates issues with the latest docker
      pkg. The daemon handles firewalld itself and errors since the interface is
      already in zone trusted and thus can't be handled by it's own zone.
      Verified
      e586e457
  9. Oct 14, 2020
  10. Sep 23, 2020
  11. Sep 06, 2020
    • Jelle van der Waa's avatar
      Introduce prometheus exporters role for collection · 23564b29
      Jelle van der Waa authored
      Add a new role called prometheus_exporters which should be run on every
      machine we have and starts different collectors depending on what group
      the machine is in. Currently supported our the gitlab runner exporter,
      rebuilder textcollector, mysqld-exporter, borg textcollector and an
      node/arch exporter. The arch exporter monitors the security status and
      pacman out of date packages gauge.
      Verified
      23564b29
  12. Aug 27, 2020
Loading