feat(oci): make registry verifiable against private Forgejo (BUNYIP-31) #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/bunyip-31-oci-private-forgejo"
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?
What
Phase A of BUNYIP-31 (verify the OCI registry proxy against private Forgejo): the code-level gaps that block verification, plus the dev wiring needed to run it. Phase B (the live docker login / pull verification) follows on this branch once a Forgejo service token is available; results land in the runbook's findings log.
Gaps fixed
https://{service}/auth/token- docker login could never work for any deployment without TLS on the service hostname, including local verification. NewOCI_REGISTRY_REALMenv var overrides the full realm URL; the default is unchanged, so production behind TLS needs nothing.read:package), the manifest path now logs an exact operator diagnostic; members still get the generic OCI error envelope.Wiring + docs
compose.dev.yml: distribution env vars (FORGEJO_, OCI_REGISTRY_), port 18081 published, dev-prefixed cache volumes. All disabled until.envprovides credentials..env.example: distribution section documenting the required Forgejo service-token scopes (read:package,read:repository).dev-docs/oci-registry-verification.md: the verification runbook - prerequisites, step-by-step local procedure covering every BUNYIP-31 acceptance criterion (login, entitled pull, pinned-tag enforcement, blob-cache hit, denial envelopes, rate limits), a findings log, and production notes feeding BUNYIP-32. Includes the known caveat that the dunite-oci Forgejo client authenticates with an empty basic-auth username, which live verification must confirm Forgejo accepts.Verification
Workspace check green; config + bunyip-oci tests pass; zero new clippy violations vs main; changed files rustfmt-clean; compose.dev.yml validates. (The unrelated
download_config_enabled_when_forgejo_settest failure is the pre-existing BUNYIP-36 env-var race, reproducible on main.)