Capture mesh-catalog at feat/r4g (2246ccc4) with the templates its manifests name and its predefined.json, and lay the copy out as a repository's root

The catalogue's manifests moved their content into template files and fall back to predefined keys, so a copy of
module.json alone no longer passes the catalogue's own check; the bus's Dockerfile is gone from the catalogue.
This commit is contained in:
2026-10-23 16:24:14 +02:00
parent 68c1220e87
commit 5ccc87f4d0
455 changed files with 12335 additions and 1333 deletions
@@ -79,24 +79,47 @@
}
]
},
"config": {
"site": {
"type": "string",
"description": "The UniFi site the module's tools act on, by its id; the file's default is default.",
"trusted": true,
"default": "default"
},
"url": {
"type": "string",
"description": "The address the module's tools reach the UniFi controller at, as a URL; unset, the code falls back to its environment, else this machine's controller on its HTTPS port.",
"trusted": true,
"default": ""
},
"username": {
"type": "string",
"description": "The UniFi account the module's tools sign in as with the vault's password; unset, the code falls back to its environment.",
"trusted": true,
"default": ""
}
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"mode": "0700",
"place": "mesh"
"place": "mesh",
"unknown": "program"
},
{
"id": "state",
"type": "directory",
"mode": "0700",
"place": "."
"place": ".",
"unknown": "program"
},
{
"id": "data",
"type": "directory",
"mode": "0700",
"owner": "1000:1000"
"owner": "1000:1000",
"unknown": "program"
},
{
"id": "server",
@@ -130,8 +153,10 @@
"type": "file",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"site\": \"default\",\n \"password\": \"${secret:controller}\"\n}\n",
"merge": "json"
"template": "files/config.json",
"merge": "json",
"takes-config": ["site", "url", "username"],
"protected": ["password"]
}
],
"requires": [
@@ -167,6 +192,11 @@
"MESH_UNIFI_URL": "https://127.0.0.1:${port:8443}",
"MESH_UNIFI_CONFIG_FILE": "${dir:mesh-state}/config.json"
}
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}