mesh-build-go, -image and -node declare the builder's published package builds, which they now read their forms and keys through (B5i; ADR 0634 §1, §4; issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -52,6 +52,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any {
|
||||
func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) {
|
||||
m := readManifest(t)
|
||||
// The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1).
|
||||
// The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1).
|
||||
if m.Packages["builds"] != "0.1" {
|
||||
t.Errorf("packages %v: want builds of series 0.1", m.Packages)
|
||||
}
|
||||
if m.Packages["sshkeys"] != "0.1" {
|
||||
t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages)
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"module": "mesh-build-go",
|
||||
"version": "1",
|
||||
"packages": {
|
||||
"builds": "0.1",
|
||||
"sshkeys": "0.1"
|
||||
},
|
||||
"moved": true,
|
||||
|
||||
@@ -54,6 +54,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any {
|
||||
func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) {
|
||||
m := readManifest(t)
|
||||
// The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1).
|
||||
// The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1).
|
||||
if m.Packages["builds"] != "0.1" {
|
||||
t.Errorf("packages %v: want builds of series 0.1", m.Packages)
|
||||
}
|
||||
if m.Packages["sshkeys"] != "0.1" {
|
||||
t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages)
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"module": "mesh-build-image",
|
||||
"version": "1",
|
||||
"packages": {
|
||||
"builds": "0.1",
|
||||
"sshkeys": "0.1"
|
||||
},
|
||||
"moved": true,
|
||||
|
||||
@@ -47,6 +47,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any {
|
||||
func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) {
|
||||
m := readManifest(t)
|
||||
// The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1).
|
||||
// The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1).
|
||||
if m.Packages["builds"] != "0.1" {
|
||||
t.Errorf("packages %v: want builds of series 0.1", m.Packages)
|
||||
}
|
||||
if m.Packages["sshkeys"] != "0.1" {
|
||||
t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages)
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"module": "mesh-build-node",
|
||||
"version": "1",
|
||||
"packages": {
|
||||
"builds": "0.1",
|
||||
"sshkeys": "0.1"
|
||||
},
|
||||
"moved": true,
|
||||
|
||||
Reference in New Issue
Block a user