docs(pre): PRE's config lands on main; the parked forgejo-pre branch retires (#28) #37
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review/merge-ready
review/needs-fix
review/needs-human
review/needs-review
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/28-merge-pre"
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 #28.
PRE's three config files move onto
main, and the parkedforgejo-prebranch is deleted on both remotes, so a rehearsal needs no branch checkout and no restore.Acceptance criteria
tofu/pre.tf), its host-variable overrides (ansible/host_vars/forgejo-pre.yml) and its inventory entry (ansible/inventories/pre/hosts) are onmain;forgejo-preis deleted on origin and github (verified:git ls-remote --headsempty on both).tofu planwith the documented command proposes Prod only — verified live: the documented-targetset reportsNo changes, while a bare plan proposes creatingforgejo_pre.-targetset (plan/apply/destroy).guest_prevariable description no longer references the branch.forgejo-prebranch" clause.Notes
The README's Running section also gained the Guest
-targetset: withpre.tfonmain, a bare plan there would have proposed the PRE Guest too — the same footgun the runbook fixes.This is the prefactor for #29–#36: it removes the parked-branch mechanism (and its broken teardown) before any Target wraps the commands.
@ -49,3 +49,2 @@The disposable rehearsal Guest (LXC 142) used to trial stack and playbookchanges before they touch Prod. Destroyed between rehearsals; its config isparked on the `forgejo-pre` branch.changes before they touch Prod. Destroyed between rehearsals. Its config livesYou can remove
Its config lives on main. It's a given@ -109,1 +114,3 @@tree would make every plan propose its creation.changes before they reach Prod. It is destroyed between rehearsals. Its config— `tofu/pre.tf`, `ansible/host_vars/forgejo-pre.yml` and`ansible/inventories/pre/hosts` — lives on `main`, so a rehearsal needs noNo need to mention the config lives on main. That's a given
@ -127,3 +137,1 @@Notes that save a puzzled minute: the branch's `inventories/pre/hosts` namesits host line `forgejo-pre` while main's carries the parked `forgejo` line, souse the branch copy as-is.`tofu/variables.tf`'s `guest_pre` is on `main` alongside its consumersame here, no need to mention they live on main
@ -142,2 +150,4 @@```Only the PRE container is destroyed. The shared base image stays in state forboth Guests, and the config that described PRE stays on `main` — nothing issame here, no need to mention config lives on main
@ -39,3 +39,3 @@variable "guest_pre" {description = "LXC PRE guest parameters (disposable Ansible rehearsal). Only consumed by tofu/pre.tf, which is parked on the forgejo-pre branch (kept here so a rehearsal needs no variable re-adds)."description = "LXC PRE guest parameters (disposable Ansible rehearsal), consumed by tofu/pre.tf."type = object({remove
consumed by tofu/pre.tfReview follow-ups pushed in
754c6aa— all five handled:Its config lives on mainfrom PRE., consumed by tofu/pre.tffromguest_pre.config … lives on mainclause from the PRE intro, theon main alongside its consumerclause from theguest_prenote, and theconfig that described PRE stays on mainclause from the teardown note.The operational detail that survives (the
-targetsplit, and thatguest_pre/pre.tfcreate nothing on their own) stays; only the now-obvious "it's on main" statements are gone.754c6aae70to9686fdc79cOne addendum to
754c6aa(now9686fdc): the same "whose config now lives onmain" boilerplate also sat in the Guest section intro, which wasn't annotated. Same rationale, so I trimmed it too — the PR now carries no "lives on main" phrasing anywhere, and only the operational-targetdetail remains.