Commit graph

445 commits

Author SHA1 Message Date
Nicolas Jeannerod aad7a984c2
Integrate vm02116 (Forgejo) and vm02187 (Wiki) to the infra/ directory and deployments (#11) 2024-11-20 10:15:28 +01:00
Nicolas Jeannerod 62eea1bf8a
Add Wiki machine to web deployment 2024-11-20 10:13:40 +01:00
Nicolas Jeannerod 2ffab40687
Add Forgejo machine to git deployment
This deployment is the old `actions-runners` deployment, renamed.
2024-11-20 10:13:40 +01:00
Nicolas Jeannerod 47bca471da
Add wiki machine to the infra/ directory 2024-11-20 10:13:40 +01:00
Nicolas Jeannerod c2f820b85d
Add Forgejo machine to the infra/ directory 2024-11-20 10:13:40 +01:00
Valentin Gagarin 771708c557 drive-by refactoring 2024-11-20 09:01:33 +01:00
Nicolas Jeannerod f1c0d29df9
Add niols to the users of the website 2024-11-18 15:18:38 +01:00
Nicolas Jeannerod 18b03924ad Format and clean dead code in infra/ (#12)
Reviewed-on: Fediversity/Fediversity#12
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2024-11-18 12:09:30 +01:00
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