Temp repo for Bagel-baking infrastructure
Find a file
Janik Haag 9bab95bab7
fix(builders/netboot): make "normal" evaluation pass
Without this patch running `colmena build` will run into a few assertion
errors for machines that have `config.bagel.baremetal.builders.netboot == true`
set. This is due to an assertion check in the initrd module making sure
there is a mount point for `/`. This can be trivially fixed by just
setting the mount point to the real world value, which is a tmpfs with
64GB assigned.

We also set `deployment.targetHost` to a domain that will
never resolve in the public internet, to make sure nobody applies these
machines by hand. It would have been nice to throw a error whenever
`colmena apply` gets executed for one of these hosts, but doing so would
defeat the purpose of this patch, because the colmena `build` and `apply`
argument both evaluate the exact same code paths and thus colmena
`build` would error again.

The motivation behind this was, so we could run `colmena build` in CI
in the future, and to not scare of new contributors with random build
failures when they first try to build the machines.

The proper solution would be to exclude all the network booted builders
from the regular colmena hive that is exposed to the cli, but this is
too many yaks to shave for now.
2024-09-21 03:30:19 +02:00
common feat(nixpkgs): run oxidized channel scripts 2024-08-31 19:32:23 +02:00
dashboards feat(grafana): plug jsonnet-based dashboards in provisioning 2024-08-24 16:32:21 +02:00
hosts feat(nixpkgs): run oxidized channel scripts 2024-08-31 19:32:23 +02:00
lib Add a wrapper to colmena that stops unintended toe-stepping 2024-07-24 07:25:25 +00:00
overlays feat(gerrit): add git-gc-preserve script 2024-09-02 11:05:54 +02:00
pkgs/forgejo forgejo: base on forgejo-lts since forgejo got bumped to a new master in nixpkgs 2024-08-13 01:50:19 +02:00
secrets feat(nixpkgs): run oxidized channel scripts 2024-08-31 19:32:23 +02:00
services fix(builders/netboot): make "normal" evaluation pass 2024-09-21 03:30:19 +02:00
terraform Set up tempo 2024-08-31 15:05:30 +03:00
.editorconfig editorconfig: init 2024-07-13 01:10:18 +00:00
.envrc Add devShell with agenix and colmena 2024-07-05 16:10:31 +00:00
.gitignore gitignore: add secrets (but not encrypted secrets) to gitignore 2024-07-15 11:02:54 +00:00
flake.lock feat(channels): add minimal ISO for x86_64-linux 2024-08-31 20:14:02 +02:00
flake.nix feat(nixpkgs): run oxidized channel scripts 2024-08-31 19:32:23 +02:00
LICENSE Initial commit 2024-06-23 06:41:53 +02:00
README.md Initial commit 2024-06-23 06:41:53 +02:00
secrets.nix feat(nixpkgs): run oxidized channel scripts 2024-08-31 19:32:23 +02:00

Infrastructure for the donut shaped thing that is absolutely not a donut.