The host is a module, so the mesh can build it
novox/hq 04-ISSUES/142 and ADR 0142. Nothing delivered the host because nothing could compile it, and nothing could compile it partly because the host was not a thing the mesh builds at all — it had no manifest. One bundle in Go, for arch, built from cmd/mesh-host. A system is required for a compiled artifact because a binary is pinned at link time so a host refuses to touch a machine it was not built for (ADR 0005), and `arch` is what all four of this mesh's machines report themselves to be. Another system is another artifact and another build, which is what ADR 0142 means by one per target. No resources yet. What places a version into a directory named for it needs an archive resource whose path carries the version, and nothing interpolates one — the second half of 0141's insight, and the next piece.
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"module": "mesh-host",
|
||||
"version": "1",
|
||||
"slug": "host",
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "host-arch",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/mesh-host"
|
||||
}
|
||||
]
|
||||
},
|
||||
"resources": []
|
||||
}
|
||||
Reference in New Issue
Block a user