feat(dev-new): two Forgejo runner microVMs behind the dev-new label #466
No reviewers
Labels
No labels
bug
enhancement
in-progress
needs-info
needs-triage
p0
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/nixos!466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lab/20261013-0114"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #465
Adds
fj-runner-3andfj-runner-4as microvm.nix guests on dev-new (4 vCPU, 8 GiB each), the same guest config as fw's runners. fw'sfj-runner-1/2stay unchanged. Decision record: ADR-0033.What changes
hosts/dev-new/modules/microvm.nix: microvm.nix host module at the rev fw pins, a host-onlyrunnersbridge (10.97.0.1/24) that thevm-fj-*taps join, andnetworking.naton it. dev-new is wifi-only, so the taps cannot be bridged onto the uplink like fw'sserverbridge; noexternalInterfaceso it works on wifi and on the USB ethernet card alike.hosts/dev-new/vms/forgejo-runner/default.nix: the two guests at10.97.0.53/.54, DNS via fw, same podman 5.8.6 pin (#404),CPUWeight=20/Nice=10like fw'susertier. Labels: onlydev-new:docker://git.cloonar.com/infrastructure/gitea-runner:1.0.0, soruns-on: ubuntu-latestkeeps going to fw and a workflow targets these withruns-on: dev-new./run/secretsinto the runner VMs. On dev-new that directory also holds the coding-lab master key, the onecli gateway key, the warpgate admin token and the diag key, so an activation step copies only the runner token into/run/forgejo-runner, and that is what virtiofs mounts at the guests'/run/secrets. Guest config stays identical to fw's.docs/adr/0033-forgejo-runners-on-dev-new.md.Before merging
Add
forgejo-runner-tokentohosts/dev-new/secrets.sops.yamlwith the same value as fw'sforgejo-runner-token(env-file form,TOKEN=…):Until it exists, dev-new's bento switch fails at sops install.
After merge
fj-runner-3/4with labeldev-new.FORWARDpolicy on dev-new; nixos-nat's accept rules are appended toFORWARDafter Docker's chains, which only act on Docker bridges, so it should pass, but the first job is the real test.🤖 Generated with Claude Code