Skip to content
Snippets Groups Projects
  1. Sep 17, 2023
  2. Sep 13, 2023
  3. Sep 02, 2023
  4. Sep 01, 2023
  5. Aug 31, 2023
  6. Aug 30, 2023
  7. Aug 25, 2023
  8. Aug 24, 2023
  9. Aug 21, 2023
  10. Aug 20, 2023
  11. Aug 19, 2023
    • Evangelos Foutras's avatar
      install_arch: configure sshd via drop-in · 763b0223
      Evangelos Foutras authored
      Commit 8e6d5474 ("sshd: use drop-in for basic sshd configuration")
      changed the sshd_config.j2 template to contain only overridden bits of
      sshd_config. However, it did not account for the install_arch role use
      of the same template which was still installed to /etc/ssh/sshd_config.
      
      Fix install_arch to install to etc/ssh/sshd_config.d/override.conf too.
      
      Fixes: 8e6d5474 ("sshd: use drop-in for basic sshd configuration")
      763b0223
    • Kristian Klausen's avatar
      Merge branch 'aurweb-review-apps' into 'master' · 9417bc7d
      Kristian Klausen authored
      Misc changes for supporting aurweb's review apps need
      
      See merge request !748
      9417bc7d
    • Kristian Klausen's avatar
      Create sandbox DNS zone · b2ffb068
      Kristian Klausen authored
      The VMs created in the Hetzner cloud sandbox project must be accessible
      with a DNS name. This creates a dedicated DNS zone for this purpose.
      
      For now this zone will only be used by the aurweb project, so it can
      create DNS records for the VMs it creates. This is needed so the dynamic
      created environment can be accessed over HTTPS.
      
      [1] https://docs.gitlab.com/ee/ci/review_apps/
      b2ffb068
    • Kristian Klausen's avatar
      gluebuddy: Add gitlab bot for aurweb-tfstate project · 5fb8df85
      Kristian Klausen authored
      Aurweb wants to use terraform to create VMs in the Hetzner cloud sandbox
      project and it must store the terraform state somewhere. The state can
      be stored in GitLab[1], but unfortunately the access is not very
      granular. So to avoid handing the CI pipeline too much access to the
      aurweb project, a new project has been created, to store only the
      terraform state, and an associated project access token.
      
      [1] https://docs.gitlab.com/ee/user/infrastructure/iac/terraform_state.html
      5fb8df85
    • Kristian Klausen's avatar
      Add small script to fetch SSH keys from the EC2 metadata service · 645b1a00
      Kristian Klausen authored
      This is meant to be used in the Hetzner cloud sandbox project, so SSH
      keys can be injected when a new VM is created from e.g. a CI pipeline,
      so that the CI pipeline can SSH to the newly created VM.
      
      The EC2 metadata service is used over the Hetzner metadata service, as
      it is supported by more providers (including Hetzner).
      645b1a00
    • Kristian Klausen's avatar
      Add API tokens for new Hetzner cloud sandbox project · e5529102
      Kristian Klausen authored
      A new Hetzner cloud project has been created called "Sandbox". This
      project is meant for non-production workload which must be created
      on-demand from e.g. a CI pipeline. The first project using the sandbox
      is aurweb, which wants to use GitLab's Review apps[1] feature to create
      dynamic environments on-demand.
      
      Two API tokens have been created, one for the infrastructure project (to
      be used by packer) and for the aurweb project.
      
      [1] https://docs.gitlab.com/ee/ci/review_apps/
      e5529102
    • Kristian Klausen's avatar
      packer: Convert from JSON to HCL · 0ba3f222
      Kristian Klausen authored
      As of version 1.7.0, HCL2 is the preferred way to write Packer
      templates. The documentation reflect this and it is easier if we use the
      preferred format.
      0ba3f222
  12. Aug 18, 2023
  13. Aug 13, 2023
  14. Aug 12, 2023
  15. Aug 11, 2023
Loading