Upgrade automated provisioning of Proxmox VMs #174

Manually merged
Niols merged 17 commits from Niols/Fediversity:provision into main 2025-02-21 20:25:09 +01:00
Owner

Builds on top of #173; #173 should be merged first.

Closes #95

This PR upgrades the automated provisioning of Proxmox VMs, such that it is not
limited to test VMs anymore and can deploy all our VMs. Quite a few things
remain to be done:

  • The directory deployment/ doesn't contain much anymore, and what is contains
    is kinda broken.

  • (Related) I haven't updated my files that I use for testing of services such
    that they rely on this system yet, so they are broken too. This isn't much
    work, though, so I will just update them next time I need them.

  • The provisioning process is extremely clunky, with quite a bit of manual
    intervention required. It can be improved, but this is still a step forward
    compared to no provisioning process.

  • The code in infra/flake-parts.nix does some hacky things (in particular to
    obtain a NixOS configuration from a NixOps4 resource). It would be worth
    cleaning up (and doing so would partly improve the provisioning experience).

At this point in time, I don't think that it is worth spending more time on
this, though, and this PR still brings a neat improvement over the previous
state of things.

Builds on top of #173; #173 should be merged first. Closes https://git.fediversity.eu/Fediversity/Fediversity/issues/95 This PR upgrades the automated provisioning of Proxmox VMs, such that it is not limited to test VMs anymore and can deploy all our VMs. Quite a few things remain to be done: - The directory `deployment/` doesn't contain much anymore, and what is contains is kinda broken. - (Related) I haven't updated my files that I use for testing of services such that they rely on this system yet, so they are broken too. This isn't much work, though, so I will just update them next time I need them. - The provisioning process is extremely clunky, with quite a bit of manual intervention required. It can be improved, but this is still a step forward compared to no provisioning process. - The code in `infra/flake-parts.nix` does some hacky things (in particular to obtain a NixOS configuration from a NixOps4 resource). It would be worth cleaning up (and doing so would partly improve the provisioning experience). At this point in time, I don't think that it is worth spending more time on this, though, and this PR still brings a neat improvement over the previous state of things.
Niols added 33 commits 2025-02-21 19:42:55 +01:00
for the options that are ours; we want to avoid clashes if possible
- `fediversity.internal.garage` -> `fediversity.garage`
- all in the same place
...but not everywhere, there remains some FIXMEs where ultimately the
secrets do get into the store.
Fix Pixelfed
All checks were successful
/ check-pre-commit (pull_request) Successful in 3m10s
/ check-website (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 3m6s
2ee563f5d9
Mark deployment/ as deprecated
All checks were successful
/ check-pre-commit (pull_request) Successful in 25s
/ check-website (pull_request) Successful in 11s
/ check-peertube (pull_request) Successful in 21s
7961fae231
Niols added a new dependency 2025-02-21 19:43:28 +01:00
requested reviews from fricklerhandwerk, kiara 2025-02-21 19:43:56 +01:00
Niols added a new dependency 2025-02-21 20:06:55 +01:00
kiara approved these changes 2025-02-21 20:22:13 +01:00
kiara left a comment
Owner

with the function stuff the vm config may look a bit further from plain json for now, but imma just trust you know what you're doing

with the function stuff the vm config may look a bit further from plain json for now, but imma just trust you know what you're doing
Niols force-pushed provision from 7961fae231 to 0bea2d0bb1 2025-02-21 20:24:48 +01:00 Compare
Niols manually merged commit d9a67c0db3 into main 2025-02-21 20:25:09 +01:00
Sign in to join this conversation.
No description provided.