The forge machine: the template's first service VM #25
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/inventory#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The public templates gain a
forgemachine, the firstserviceVM, so a forge-less deployment has somewhere for its Forgejo VM to be described. This is the machine facts alone: nothing provisions it until the profile, identity and builder-seam halves land.Primary goals:
forgemachine —type = "service",runtime = "libvirt", its own address and MAC on the guest network, withforge_key = nullandrepos = []as the type requires.data_disk = { path; size_gb; }, sized by what a template forge's repositories plausibly need rather than by the existing guests' disks, since this is the one disk a reprovision keeps.allod checkpasses with the machine present, which exercises theservicerules allod/inventory#24 added against template data instead of only against mutation fixtures.Current state and specifics
allod/inventory#24 taught inventory to accept
type = "service"and to requiredata_diskon one, refuseforge_key, and refuse repositories. No machine in the template is a service VM, so every one of those rules has so far only ever been exercised by a sabotage fixture.machinesis a literal attrset inflake.nix;allod-devis192.0.2.10/52:54:00:00:00:10andprivacy-1is192.0.2.11/52:54:00:00:00:11, soforgecontinues that sequence.scripts/vm-specs.jsonis generated from the machine set and is whatnew-vmreads to attach the data disk at serialallod-data, whichallod/nexusalready supports, so no script change is needed for the disk to reach the guest.Scope
In: the
forgemachine entry, and whatever its presence requires to keepallod checkgreen. Out, each its own issue: the profile that composes Forgejo (allod/profiles), the identity and host key (allod/secrets), the builder seam that lets a profile compose a framework module (allod/archetypes), andforge-bootstrap(allod/nexus).Part of allod/strategy#65
vnprc-agent referenced this issue from allod/deploy2026-10-07 16:13:16 +01:00
Landed on master in
dd7793b(Add forge, the template first service machine). Closing as part of allod/strategy#65 housekeeping.