Files
mesh-controller/testdata/beside/mesh-catalog/modules/gitlab/module.json.captured
T
jschoubben 5ccc87f4d0 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.
2026-10-23 16:24:14 +02:00

66 lines
1.4 KiB
Plaintext

{
"module": "gitlab",
"version": "1",
"own-secrets": {
"token": "${dir:state}/token"
},
"config": {
"gitlab-url": {
"type": "string",
"description": "The address of the GitLab instance the gitlab tools call, as a URL such as https://gitlab.com, laid into the file as GITLAB_URL; unset, the code falls back to its environment and answers no calls until it is given.",
"trusted": true,
"default": ""
}
},
"resources": [
{
"id": "state",
"type": "directory",
"mode": "0700",
"place": ".",
"unknown": "program"
},
{
"id": "config",
"type": "file",
"path": "${dir:state}/config.json",
"merge": "json",
"template": "files/config.json",
"mode": "0600",
"takes-config": [
{
"key": "gitlab-url",
"as": "GITLAB_URL"
}
]
}
],
"capabilities": [
"container-runtime"
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "typescript",
"entrypoints": [
"tools/index.js"
],
"loads": [
"tools/index.js"
],
"env": {
"MESH_GITLAB_TOKEN_FILE": "${dir:state}/token",
"MESH_GITLAB_CONFIG_FILE": "${dir:state}/config.json"
}
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}