Self-upgrade installer: genesis pivot, rename, adopt store+broker #13

Merged
jschoubben merged 12 commits from feat/a-bed-that-hands-over-nothing into main 2026-09-16 21:22:07 +00:00
2 changed files with 9 additions and 4 deletions
Showing only changes of commit 7a223464e5 - Show all commits
+6 -1
View File
@@ -10,7 +10,12 @@ import (
)
// RegistryModule is the module that provides the mesh's artifact store.
const RegistryModule = "registry"
//
// **Named for the software, not the job.** The job is `artifact-store`, which is the provision this
// module offers; the software is Distribution, the OCI reference implementation. Calling the module
// `registry` named neither — and promised that any registry could sit there, which is the false
// genericity the naming rule forbids (novox/hq ADR 0040).
const RegistryModule = "distribution"
// registryResource is the id of the resource in that module's manifest that runs the registry.
// What the container is CALLED is read from the manifest rather than assumed, because the name is
+3 -3
View File
@@ -35,7 +35,7 @@ func catalogueWith(t *testing.T, module, manifest string) string {
}
const upstreamRegistryManifest = `{
"module": "registry",
"module": "distribution",
"version": "1",
"provides": [{"name": "artifact-store", "scope": "mesh"}],
"capabilities": ["container-runtime"],
@@ -137,8 +137,8 @@ func TestARegistryThatAnswersIsAccepted(t *testing.T) {
}
// Registered, assigned and pushed, through the same three commands a person types.
for _, wanted := range []string{
"module add /registry-module.json",
"assign anchor registry",
"module add /distribution-module.json",
"assign anchor distribution",
"push anchor",
} {
if !runtime.ran(wanted) {