Documentation
¶
Overview ¶
Command testchannel makes the TEST release that `make install-artifacts` hands to `install.sh --test-artifacts` . The real release keys do not exist yet (08k), so a test install needs a release signed with throwaway keys, and a vedette-host that trusts exactly those keys.
keys makes the throwaway keys (private halves stay in -out, mode 0600, never committed; a folder that already holds keys
keeps them, so a later build is trusted by a box installed from the first, #469) and a Go build overlay that
replaces internal/release/keys_prod.go of ONE build of vedette-host with their public halves. The source tree is
never changed and the production guard (test-only keys are refused outside a test binary) is not weakened:
the test host is simply a different build with other production-style keys.
sign builds index.json and release-manifest.json for the images found under -blobs and signs them (minisign
format and the legacy cosign payload) with those keys; every document is checked back with internal/release.
serve a read-only registry for the blobs of those images, bound to loopback: install.sh points podman's mirror for
ghcr.io/knt048 at it, so `vedette-host -bootstrap` pulls by digest exactly as in production. With -releases it also
serves the documents and the host package under /release/, the update source of a test box (docs/INSTALL-TEST.md).
Nothing here runs on a customer box: the customer path has no test keys, no mirror and no registry.