feat(oci): operator compose example + public registry mirror #22
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/operator-compose-and-public-mirror"
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?
Ships the self-host deployment surface for the Milestone 1 acceptance criteria.
oci-build/compose.example.ymlis a reference compose file an operator can copy verbatim, edit the four MOKOSH_* env vars, anddocker compose upto reach a working SPA instance backed by their own mokosh-server. The container is stateless, multi-arch, and applies updates by bumping the tag and re-pulling. The CI workflow gains a "Mirror image to public registry" step that runsdocker buildx imagetools createto copy each tag's manifest list (multi-arch preserved) frompsa-systems-privatetopsa-systems-publicwithout a rebuild. The step is gated onvars.PSA_SYSTEMS_PUBLIC_PACKAGE_OWNERbeing set so this PR can land before ops creates the public package owner; once the var and matchingPSA_SYSTEMS_PUBLIC_PACKAGE_PATsecret are in place, the next push to main starts mirroring automatically. README gains a "Self-host deployment" section pointing at the compose example and documenting the four env vars.Depends on feat/runtime-config-injection (PR for the entrypoint that consumes the MOKOSH_* env vars). Merge that first.
Signed-off-by: nrupard natrsmith11@gmail.com