Align with OPS-CONTRACT; real-docker lifecycle workflow #6
Loading…
Reference in a new issue
No description provided.
Delete branch "contract-align"
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?
Aligns lvbcmd with the current
mehrerau/lvbOPS-CONTRACT (all ops commands implemented) and adds a real-docker lifecycle test.BIND_ADDRESS(behind-proxy127.0.0.1, standalone0.0.0.0;config set CADDYFILE=…follows;updateadds it as127.0.0.1for behind-proxy), optional--oidc-name→OIDC_NAME.switchwritesOIDC2_*with a permanent id (--id, defaultnext) and--name, restarts,ops idp switch --from <OIDC_ID> --to <id>, printsbackups/<relinkCsv>with a strong warning.retiremaps to ops only; newpromotemovesOIDC2_*→OIDC_*keeping the id.setrefuses issuer changes for an id with users (opsidp list) and explains the switch flow.stop app worker→run --rm -T ops backup restore <file> --replace→up -d --wait. Backup files outsidebackups/are copied flat (ops rejects sub-directories)..env, then tells the operator to runidp switch(which restores the DB-known issuer toOIDC_*).POSTGRES_IMAGE,CADDY_IMAGE,GOTENBERG_IMAGE; digests.json checked; doctor warns on open behind-proxy ports..forgejo/workflows/lifecycle.yml+scripts/lifecycle.sh: install (behind-proxy, mock IdP) → invite → year → backup now/verify → snapshot → teardown → snapshot restore into a fresh dir → doctor/status/year list → idp switch/retire/promote; always cleans up.🤖 Generated with Claude Code
https://claude.ai/code/session_01PVUe4hDGT5Zans1Gu3Lv6j