Temp repo for Bagel-baking infrastructure
Find a file
raito 58f2ff9858 chore: connect terraform to the hive
This way, we can autogenerate records for storage and builders nodes by
reading directly the configuration.

This makes evaluation of `nix run .#tf` slower, but this makes things
more safer and easier, so it's good.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-27 21:33:45 +01:00
common chore: introduce finer-grained baremetal management 2024-10-27 21:33:45 +01:00
dashboards feat(grafana): plug jsonnet-based dashboards in provisioning 2024-08-24 16:32:21 +02:00
hosts chore: introduce finer-grained baremetal management 2024-10-27 21:33:45 +01: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: add buildbot.lix.systems 2024-10-06 11:53:25 +02:00
services chore: introduce finer-grained baremetal management 2024-10-27 21:33:45 +01:00
terraform chore: connect terraform to the hive 2024-10-27 21:33:45 +01:00
.editorconfig editorconfig: init 2024-07-13 01:10:18 +00:00
.envrc chore: add lorri to prevent direnv from blocking, closes #147 2024-10-27 09:42:11 +00:00
.gitignore gitignore: add secrets (but not encrypted secrets) to gitignore 2024-07-15 11:02:54 +00:00
flake.lock chore: move to faster-depinfo branch for Buildbot 2024-10-27 19:39:18 +01:00
flake.nix chore: connect terraform to the hive 2024-10-27 21:33:45 +01:00
LICENSE Initial commit 2024-06-23 06:41:53 +02:00
README.md docs(README.md): explain how to deploy things 2024-10-06 08:09:53 +00:00
secrets.nix feat: add buildbot.lix.systems 2024-10-06 11:53:25 +02:00

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

Quick start

Build the infrastructure

$ colmena build --on @localboot

Notice that @localboot is load-bearing as we have some machines that cannot be deployed with vanilla Colmena. Fixing this is welcome.

$ colmena apply dry-activate $machine # Verify that the nvd log is reasonable.
$ colmena apply $machine
$ nix flake update
$ colmena apply dry-activate --on @localboot # Verify that the nvd log is reasonable. Run it twice to get only NVD logs shown.
$ colmena apply --on @localboot

Troubleshooting

I failed to deploy gerrit01

Our Gerrit source build is known to have some hiccups sometimes, we are always interested in build logs, feel free to attach information in a new issue so we can make it more reliable.