Commit graph

337 commits

Author SHA1 Message Date
Nicolas Jeannerod d8320bc287 Control the actions runners' configuration via NixOps4 (#8)
Reviewed-on: Fediversity/Fediversity#8
2024-11-18 11:39:24 +01:00
Nicolas Jeannerod e300ff517d
Small description of the infra/ subdirectory 2024-11-18 11:28:02 +01:00
Nicolas Jeannerod ae90b3e362
Add Valentin's SSH keys 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod f9f096cff8
Ooops 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod 69cad1592e
Rename “default” NixOps4 deployment 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod 40ec7e9c8c
Make a NixOps4 deployment for action runners 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod 8a53b5242b
Add files related to vm02179 2024-11-18 10:56:38 +01:00
Nicolas Jeannerod accb4d4c81
Move files related to vm02186 to own directory 2024-11-18 10:56:38 +01:00
Kevin Muller fc29873949 Merge pull request 'added the nixos configs of the forgje and wiki servers' (#10) from forgejo_and_wiki_configs into main
Reviewed-on: Fediversity/Fediversity#10
2024-11-18 10:53:14 +01:00
Kevin Muller 2c5046ab0e added the nixos configs of the forgje and wiki servers 2024-11-18 10:48:16 +01:00
Valentin Gagarin be057fb93b use email address that's being monitored 2024-11-18 09:40:41 +01:00
Nicolas Jeannerod bd478eb32b Improve automated provisioning/removal of Proxmox VMs (#6)
Reviewed-on: Fediversity/Fediversity#6
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-17 00:09:21 +01:00
Nicolas Jeannerod 3765a7e049
Mention the scripts in the README 2024-11-17 00:07:21 +01:00
Nicolas Jeannerod 94e5356886
Parallelise removal script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 74bf29bb75
Parallelise provisioning script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 56d125a5b0
Rework and cleanup provisioning script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 95389bb615
Remove useless piece of code
Ids must start at 100 because of Proxmox.
2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 1c614ff3b8
Add VM removal script 2024-11-17 00:07:20 +01:00
Nicolas Jeannerod 84ba26d187
Move Proxmox-related things under deployment/proxmox 2024-11-17 00:07:20 +01:00
Valentin Gagarin 07fa942989 increase sensitive area of the menu toggle 2024-11-15 09:54:37 +01:00
Valentin Gagarin b78d341d95 simplify menu-toggle label SVG 2024-11-15 09:54:37 +01:00
Valentin Gagarin e61ff7c039 show mobile menu toggle in mode-sensitive color 2024-11-15 09:54:37 +01:00
Nicolas Jeannerod 9803e69e3f Plug services and deployment into the flake (#3)
Reviewed-on: Fediversity/Fediversity#3
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-14 18:09:12 +01:00
Nicolas Jeannerod 435d9c861a
Integrate deployment as a flake part 2024-11-14 18:07:12 +01:00
Nicolas Jeannerod fc2acc13d8
Integrate services as a flake part 2024-11-14 18:07:11 +01:00
Nicolas Jeannerod 9c08267fce
Clean up what does not belong in services 2024-11-14 18:04:02 +01:00
Nicolas Jeannerod 81ae2df87b Fix typo causing disabled CI (#5)
Reviewed-on: Fediversity/Fediversity#5
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2024-11-14 17:55:29 +01:00
Nicolas Jeannerod 7ac8ec85cc Flake environment with pre-commit hook; CI to enforce them. (#2)
Reviewed-on: Fediversity/Fediversity#2
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-14 17:51:15 +01:00
Nicolas Jeannerod a888540580
Opt-in to formatting for the services/ subdirectory 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod 4b77808f3f
Basic CI that checks pre-commits 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod e51fca5f0e
Basic flake with pre-commit hooks 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod c323453234
Move some gitignore at toplevel 2024-11-14 17:50:03 +01:00
Valentin Gagarin 3ae51fa545 deploy website from the repo (#1)
- move the impure single-node deploy helper here

  it's not used anywhere else

- reuse the pins from the website

  this needs to be cleaned up later

- don't copy the config to the server

  it's impure (can't even build that without jumping through hoops), and useless when building via SSH

Reviewed-on: Fediversity/Fediversity#1
2024-11-14 13:41:19 +01:00
Valentin Gagarin 54f484ddd7 Add 'proxmox/' from commit 'f4bfe5a265000e9dd9528817b4b332caa69cd239'
git-subtree-dir: proxmox
git-subtree-mainline: 919642f528
git-subtree-split: f4bfe5a265
2024-11-13 16:07:00 +01:00
Valentin Gagarin 919642f528 Add 'deployment/' from commit 'df36e09c1d7997dccc23d5f6ff9c1de8419ae0fe'
git-subtree-dir: deployment
git-subtree-mainline: 9a573df05f
git-subtree-split: df36e09c1d
2024-11-13 16:04:15 +01:00
Nicolas Jeannerod 9a573df05f Add pre-commit hooks for formatting and dead code 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 20f9d36481 Cleanup dead code 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 81176a1a9a Format everything, RFC-style 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 9e234e7b2d Proxy Peertube behind Nginx 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 00382102ba Require secrets file also when on metal 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 7a485c5f90 Fix typo 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 3f3e70eab5 Open port 80, necessary for ACME 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 95e572bce0 Number of cores also when on metal 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 36b622895a Support installing host keys in the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 9d04ce7c99 Slight rework of the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 271315747b Turn off the machine once if install is successful 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod adbd9d8d1e Fix Mastodon/Garage test 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 8d8f6d7db0 Also forward SSH port 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod aef34ca561 Use recommended proxy settings for Garage 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod ff23062b9f Avoid clashes of security.acme.defaults options 2024-11-13 16:00:39 +01:00