Skip to content
Snippets Groups Projects
  1. Sep 18, 2022
  2. Sep 12, 2022
  3. 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
      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
Loading