mesh/merge-gate checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/repo-check checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/delivery-group group feat/owned-paths checking: 0 of 2 member(s) ready
mesh/delivery superseded: a newer head of the same pull request
Every directory and archive resource carries `unknown`: move-out for a home folder whose program writes nothing there (the node-engine, delivered in mesh-host #117, moves the rest to ~/.local/state/mesh-moved/<module>/ with a list), module for ~/.ssh and ~/.claude, program elsewhere; `knows` keeps what a program or the operator relies on (powerlevel10k's compiled files, i3's scripts and the asus/g14 drop-ins, dunst's slack rule, betterbird's records, node-env's forge credential, issue 1033). Two shared folders are no longer declared. Each module's README says it. checks/owned holds every manifest to it; checks/sshdir stays while main's merge check runs it (issue 1035). Tests that pin a manifest follow the new key only. Reviewed in three rounds.
135 lines
2.9 KiB
JSON
135 lines
2.9 KiB
JSON
{
|
|
"module": "route-adapter",
|
|
"version": "1",
|
|
"moved": true,
|
|
"slug": "radapt",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"provides": [
|
|
{
|
|
"name": "route",
|
|
"scope": "mesh",
|
|
"identity": false
|
|
}
|
|
],
|
|
"serves": {
|
|
"route": {}
|
|
},
|
|
"receives": {
|
|
"route": "${dir:routes-dir}/mesh.json"
|
|
},
|
|
"accesses": [
|
|
{
|
|
"id": "dynamic",
|
|
"path": "/services/traefik/dynamic",
|
|
"mode": "read-write"
|
|
}
|
|
],
|
|
"config": {
|
|
"dynamic": {
|
|
"type": "string",
|
|
"description": "The directory the predecessor proxy's file provider reads, on this machine, as an absolute path.",
|
|
"pattern": "/.*",
|
|
"trusted": true,
|
|
"default": "/services/traefik/dynamic"
|
|
},
|
|
"entrypoint": {
|
|
"type": "string",
|
|
"description": "The predecessor proxy's entry point it serves public HTTPS on, by its own name.",
|
|
"trusted": true,
|
|
"default": "websecure"
|
|
},
|
|
"certificate-resolver": {
|
|
"type": "string",
|
|
"description": "The predecessor proxy's certificate resolver, by its own name.",
|
|
"trusted": true,
|
|
"default": "le"
|
|
},
|
|
"machine": {
|
|
"type": "string",
|
|
"description": "How the predecessor's proxy reaches this machine: a host name or an address.",
|
|
"trusted": true,
|
|
"default": "host.docker.internal"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "routes-dir",
|
|
"type": "directory",
|
|
"path": "/var/lib/route-adapter/routes",
|
|
"mode": "0700",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "config",
|
|
"type": "file",
|
|
"path": "${dir:state}/config.json",
|
|
"takes-config": ["dynamic", "entrypoint", "certificate-resolver", "machine"],
|
|
"merge": "json",
|
|
"mode": "0644",
|
|
"template": "files/config.json"
|
|
},
|
|
{
|
|
"id": "adapt",
|
|
"type": "process",
|
|
"name": "route-adapter",
|
|
"artifact": "code",
|
|
"run": [
|
|
"node",
|
|
"index.js"
|
|
],
|
|
"run-once": true,
|
|
"env": {
|
|
"MESH_RECEIVES": "${dir:routes-dir}/mesh.json",
|
|
"MESH_ROUTE_ADAPTER_CONFIG": "${dir:state}/config.json"
|
|
},
|
|
"restart-on": [
|
|
"received-route",
|
|
"config"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "code",
|
|
"kind": "bundle",
|
|
"language": "typescript",
|
|
"entrypoints": [
|
|
"index.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "provider",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/route-provider",
|
|
"binary": "route-provider",
|
|
"loads": [
|
|
"route-provider"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
},
|
|
"state": [
|
|
"bound"
|
|
],
|
|
"reads": [
|
|
"mesh-controller.assignments"
|
|
]
|
|
}
|