Commit graph

691 commits

Author SHA1 Message Date
e27cc6e96a
Generalise test deployment; get config from JSON 2025-02-27 11:35:54 +01:00
dfe1af608b contributors: add fricklerhandwerk (#208)
All checks were successful
/ check-pre-commit (push) Successful in 26s
/ check-website (push) Successful in 10s
/ check-peertube (push) Successful in 22s
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Reviewed-on: #208
2025-02-27 10:47:47 +01:00
d702ce3d05
Update flake inputs
All checks were successful
/ check-pre-commit (push) Successful in 3m49s
/ check-website (push) Successful in 10s
/ check-peertube (push) Successful in 3m45s
In particular, grab a version of NixOps4 that reports SSH failures (\o)
2025-02-26 10:49:27 +01:00
e819dc4bcc
Stop mentioning non-existing deployments
All checks were successful
/ check-pre-commit (pull_request) Successful in 25s
/ check-website (pull_request) Successful in 9s
/ check-peertube (pull_request) Successful in 21s
/ check-pre-commit (push) Successful in 5s
/ check-website (push) Successful in 11s
/ check-peertube (push) Successful in 22s
2025-02-26 09:15:10 +01:00
90efd14e54
Remove unused VMs
This has been done in sync with @kevin who removed them from the
Procolix infrastructure as well.
2025-02-26 09:15:10 +01:00
e7e175ef78
Fix typo
All checks were successful
/ check-pre-commit (push) Successful in 25s
/ check-website (push) Successful in 10s
/ check-peertube (push) Successful in 21s
2025-02-26 09:14:47 +01:00
ed98d21513
Add ShellCheck to pre-commits (and therefore CI)
Some checks failed
/ check-pre-commit (push) Failing after 28s
/ check-website (push) Successful in 13s
/ check-peertube (push) Successful in 24s
2025-02-25 17:10:25 +01:00
6182ba192c
Make ShellCheck happy 2025-02-25 17:10:25 +01:00
44a69fb376
Clean up pre-commit opt-out mechanism 2025-02-25 17:10:25 +01:00
4e30363c5f
Generate list of machines from machines subdir
All checks were successful
/ check-pre-commit (pull_request) Successful in 27s
/ check-website (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 22s
/ check-pre-commit (push) Successful in 8s
/ check-website (push) Successful in 12s
/ check-peertube (push) Successful in 23s
2025-02-25 11:57:21 +01:00
2e346d1de7
Move test machines configuration to test-machines directory 2025-02-25 11:57:21 +01:00
c74145fe24
Split machine definitions into subdirectories 2025-02-25 11:57:21 +01:00
3f9c174d97
Get rid of the deployment/ directory 2025-02-25 11:57:20 +01:00
f4153a048c
Reintroduce test machines deployment 2025-02-25 11:57:20 +01:00
f6960010cd
One deployment per machine; bundle test machines 2025-02-25 11:57:20 +01:00
bc8ad08228
Make removal script support ids or names 2025-02-25 11:57:20 +01:00
fb5bed9042
Remove other host keys 2025-02-25 11:57:20 +01:00
636e4636f7
Add test machines 2025-02-25 11:57:20 +01:00
cd47d884f7
Cleaner grabing of options 2025-02-25 11:57:20 +01:00
11fd13a982
Allow injecting a private key in the provisioned VM 2025-02-25 11:57:20 +01:00
bd270999f3
Integrate hostPublicKey with the options 2025-02-25 11:57:20 +01:00
01e2fc8a6f
Update documentation accordingly 2025-02-25 11:57:12 +01:00
4ae3fc27be
Have the provisioning script grab options from the flake 2025-02-25 11:36:55 +01:00
4fda719992
Expose VM options in the flake 2025-02-25 11:36:55 +01:00
10874c995e
Split sections in options 2025-02-25 11:36:55 +01:00
af4a0a0784
Add options for sockets, cores and memory 2025-02-25 11:36:55 +01:00
71d1c612a4
Get rid of fedi300
It has been off for a long while now. We will just add a VM again if
there is one ever.
2025-02-25 11:36:54 +01:00
0813eca20c
Add options for Proxmox and Proxmox VM id 2025-02-25 11:36:54 +01:00
1677c9f8d7 Remove environment.systemPackages from VMs (#176)
All checks were successful
/ check-pre-commit (push) Successful in 30s
/ check-website (push) Successful in 15s
/ check-peertube (push) Successful in 26s
Closes #25

Co-authored-by: kiara Grouwstra <kiara@procolix.eu>
Reviewed-on: #176
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-02-24 14:54:28 +01:00
c74fc4f927 Add VM for the front-end (#183)
All checks were successful
/ check-pre-commit (push) Successful in 27s
/ check-website (push) Successful in 11s
/ check-peertube (push) Successful in 23s
For now, I created yet another deployment. Basically, this seems to tell me that we only ever use:

- one deployment per machine (when we change its configuration)
- one big deployment for all of them (eg. for nixpkgs updates or new contributor)

but that the current split into themes doesn't really work. I can discontinue it in another PR.

`fedi201` is accessible under `fedi201.abundos.eu`. Its configuration lives in `infra/fedi201/default.nix`. This Nix file is a NixOps4 resource module, not a NixOS configuration module; you probably want to add a `nixos.module` field to it where you put your NixOS configuration.

Reviewed-on: #183
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-02-24 14:49:53 +01:00
e9a4185401
users: add kiara
All checks were successful
/ check-pre-commit (pull_request) Successful in 27s
/ check-website (pull_request) Successful in 12s
/ check-peertube (pull_request) Successful in 23s
/ check-pre-commit (push) Successful in 9s
/ check-website (push) Successful in 13s
/ check-peertube (push) Successful in 26s
2025-02-24 13:31:31 +01:00
a6cf01e720
Add a testing machine for Hans (#175)
All checks were successful
/ check-pre-commit (push) Successful in 26s
/ check-website (push) Successful in 9s
/ check-peertube (push) Successful in 22s
2025-02-21 20:25:40 +01:00
e6e0f49f40
Add a testing machine for Hans
All checks were successful
/ check-pre-commit (pull_request) Successful in 26s
/ check-website (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 22s
2025-02-21 20:25:20 +01:00
10ac403db5
Rekey secrets for Hans 2025-02-21 20:25:20 +01:00
d9a67c0db3
Upgrade automated provisioning of Proxmox VMs (#174)
All checks were successful
/ check-pre-commit (push) Successful in 25s
/ check-website (push) Successful in 10s
/ check-peertube (push) Successful in 21s
2025-02-21 20:24:50 +01:00
0bea2d0bb1
Mark deployment/ as deprecated
All checks were successful
/ check-pre-commit (pull_request) Successful in 25s
/ check-website (pull_request) Successful in 10s
/ check-peertube (pull_request) Successful in 21s
2025-02-21 20:24:41 +01:00
87772aa855
“Document” removal 2025-02-21 20:24:41 +01:00
cd1679afec
procolixVm -> fediversityVm 2025-02-21 20:24:41 +01:00
3dc7f49a9c
Add the disko configuration to all VMs 2025-02-21 20:24:41 +01:00
b90fc3300a
Document semi-automated provisioning of VMs 2025-02-21 20:24:41 +01:00
46d20a76bc
Do not inject pre-made keys 2025-02-21 20:24:41 +01:00
f0224b06c7
Inject disko in VM configurations 2025-02-21 20:24:41 +01:00
7c639fc131
Support empty strings in removeTrailingWhitespace 2025-02-21 20:24:41 +01:00
722afdc5ea
Expose a NixOS configuration for each VM in infra 2025-02-21 20:24:40 +01:00
df78965bf4
Extract resource module from makeDeployments 2025-02-21 20:24:40 +01:00
398dc05ad5
Rename provisioning host keys to match nixosConfiguration entries 2025-02-21 20:24:40 +01:00
280b10c214
Report Nix build errors nicely 2025-02-21 20:24:40 +01:00
57e6127a7a
Move provision.sh and remove.sh to infra/ 2025-02-21 20:24:40 +01:00
f8ec8e7d93
Decouple id and name 2025-02-21 20:24:40 +01:00
d77b04ec18
Apply makeInstallerIso to conf in provision.sh 2025-02-21 20:24:40 +01:00