Skip to content
Snippets Groups Projects
  1. Feb 09, 2025
  2. Jan 19, 2024
  3. Dec 27, 2023
  4. Aug 19, 2023
    • 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
  5. May 12, 2022
    • Evangelos Foutras's avatar
      Replace dynamic hcloud inventory with host entries · 62f93478
      Evangelos Foutras authored
      We make almost no use of the dynamic properties of the hcloud inventory,
      so we can simplify this by declaring all cloud servers in the main hosts
      inventory.
      
      The main benefit of this change is that temporary and experimental cloud
      servers are not automatically included in the Ansible playbooks. In such
      cases it is usually incorrect to deploy changes to these unknown servers.
      
      A smaller side benefit is that Ansible will now use hostnames to connect
      to cloud servers, whereas the dynamic inventory provided IPv4 addresses.
      This results in more meaningful ~/.ssh/known_hosts entries.
      62f93478
  6. May 07, 2022
  7. Apr 20, 2022
  8. Nov 06, 2021
  9. Aug 23, 2021
  10. Aug 17, 2021
  11. Jul 28, 2021
  12. Jul 07, 2021
    • Evangelos Foutras's avatar
      misc/get_key.py: load vault file without chdir'ing · faba3a3d
      Evangelos Foutras authored
      Now that misc/get_key.py checks if the vault file passed to it exists,
      we cannot pass paths only resolvable from the root directory. Instead,
      use paths that make sense relative to the current directory and avoid
      calling chdir when loading the vault file.
      
      Fixes: 77542146 ("Rewrite get_key.py to use click instead of typer")
      faba3a3d
  13. Jun 02, 2021
  14. Feb 22, 2021
  15. Jan 10, 2021
  16. Dec 18, 2020
  17. Dec 17, 2020
  18. Dec 03, 2020
  19. Nov 30, 2020
  20. Nov 21, 2020
  21. Nov 02, 2020
  22. Oct 29, 2020
  23. Oct 24, 2020
  24. Oct 22, 2020
  25. Oct 13, 2020
  26. Sep 21, 2020
  27. Sep 20, 2020
  28. Aug 31, 2020
  29. Aug 28, 2020
  30. Aug 27, 2020
Loading