diff --git a/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go b/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go index 1fd98b495..80ae3f70f 100644 --- a/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go +++ b/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go @@ -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) } diff --git a/modules/mesh-build-go/module.json b/modules/mesh-build-go/module.json index 799bf3c61..2530983d6 100644 --- a/modules/mesh-build-go/module.json +++ b/modules/mesh-build-go/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-go", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true, diff --git a/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go b/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go index 8e4f161ca..887c89869 100644 --- a/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go +++ b/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go @@ -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) } diff --git a/modules/mesh-build-image/module.json b/modules/mesh-build-image/module.json index 737964a9b..a59828c11 100644 --- a/modules/mesh-build-image/module.json +++ b/modules/mesh-build-image/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-image", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true, diff --git a/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go b/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go index e829b2cc0..fbac8729f 100644 --- a/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go +++ b/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go @@ -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) } diff --git a/modules/mesh-build-node/module.json b/modules/mesh-build-node/module.json index 574be27f8..c5b279ba2 100644 --- a/modules/mesh-build-node/module.json +++ b/modules/mesh-build-node/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-node", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true,