Skip to content

docs: document image pinning, add make module-pin - #178

Merged
ValgulNecron merged 1 commit into
mainfrom
docs/hermetic-image-pinning
Jul 22, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
docs/hermetic-image-pinning

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Companion to gameplane-module#35, which pins every module image by digest and gives 8 games a version list. The submodule pointer bump follows in a separate PR once that one merges.

  • docs/module-authoring.md gains a Pinning images by digest section: what the rule requires (spec.image and any default: true entry are ERROR if unpinned; other version entries may float), why the readable repo:tag@sha256:… form is preferred over a bare digest, the # gameplane:floating opt-out and when it is legitimate, and why the written digest is the tag/index digest rather than a per-platform one (so pinned modules still run on arm64). Also fixes the version-catalog example, which showed unpinned refs the new rule would now reject.
  • make module-pin sits next to module-schema as the other module codegen entry point.
  • docs/roadmap.md: corrects a stale claim. It listed "restore-path coverage against a real restic repository" as outstanding, but TestRestore_RoundTrip (test/e2e/restore_e2e_test.go) has covered exactly that for some time — it writes a marker into a server's PVC, backs it up, wipes it, restores, and asserts the bytes came back, against the real in-cluster restic-server ensureResticRepo provisions. Only the human-facing drill runbook is actually missing, and the roadmap now says so.

Docs + a Makefile target, so no CI checks are expected to run.

Companion to gameplane-module#35, which pins every module image by digest.

- docs/module-authoring.md gains a "Pinning images by digest" section: what
  the rule requires (defaults are ERROR, other version entries may float),
  why the readable repo:tag@sha256 form is preferred over a bare digest, the
  `# gameplane:floating` opt-out and when it is legitimate, and why the
  written digest is the tag/index digest rather than a per-platform one.
  Also fixes the version-catalog example, which showed unpinned refs the new
  rule would now reject.
- `make module-pin` sits next to module-schema as the other module codegen
  entry point.
- docs/roadmap.md: correct a stale claim. It listed "restore-path coverage
  against a real restic repository" as outstanding, but TestRestore_RoundTrip
  has covered exactly that for some time -- writing a marker, backing up,
  wiping, restoring and asserting the bytes return, against the real
  in-cluster restic server. Only the human-facing drill runbook is missing.

Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
@ValgulNecron
ValgulNecron merged commit cbf58be into main Jul 22, 2026
42 checks passed
@ValgulNecron
ValgulNecron deleted the docs/hermetic-image-pinning branch July 22, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant