Upgrade automated provisioning of Proxmox VMs #174
No reviewers
Labels
No labels
blocked
bug
component: fediversity panel
component: nixops4
contributor experience
documentation
estimation high: >3d
estimation low: <2h
estimation mid: <8h
goal: devops
project-management
question
role: sysadmin
security
technical debt
testing
user experience
user story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#175 Add a testing machine for Hans}
Fediversity/Fediversity
#173 Clean up services and put Garage on a different machine
Fediversity/Fediversity
Reference: Fediversity/Fediversity#174
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "Niols/Fediversity:provision"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 containsis 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 toobtain 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.
services.garage
->fediversity.garage
d9188427edfediversity.enable
a5d226ed22fediversity.garage.enable
1eeaa04df6makeInstaller
->makeInstallerIso
9de16b7cd0makeInstallerIso
to conf inprovision.sh
92dd428ac1provision.sh
andremove.sh
toinfra/
a059fd93b4nixosConfiguration
entries ca0d1b1668makeDeployments
ba52d11a3bremoveTrailingWhitespace
2bc7837587procolixVm
->fediversityVm
4904c9a2d1deployment/
as deprecatedwith 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
7961fae231
to0bea2d0bb1