A key a pull request adds is declared by no registered manifest, so its value was refused and the group's composed check could not pass. A proposal may now name the pull request: judged against what the controller told of its head, asked of the operator, kept apart on Approve, applied at the merge, dropped at a close.
83 lines
1.5 KiB
JSON
83 lines
1.5 KiB
JSON
{
|
|
"module": "mesh-config",
|
|
"version": "1",
|
|
"runs-as": "mesh-config",
|
|
"claims": [
|
|
{
|
|
"name": "mesh-config",
|
|
"scope": "mesh",
|
|
"serves": [
|
|
"config"
|
|
]
|
|
}
|
|
],
|
|
"emits": [
|
|
"config-changed"
|
|
],
|
|
"uses": [
|
|
"operator-channel"
|
|
],
|
|
"consumes": [
|
|
"gitea.pull.merged",
|
|
"gitea.pull.closed",
|
|
"gitea.forge.pull-request.closed"
|
|
],
|
|
"invokes": [
|
|
"seat:mesh-controller.hand-act",
|
|
"seat:mesh-controller.warranted",
|
|
"gitea.gitea_get_pull_request"
|
|
],
|
|
"reads": [
|
|
"mesh-controller.assignments",
|
|
"mesh-controller.declared-config",
|
|
"mesh-controller.predefined"
|
|
],
|
|
"state": [
|
|
"values",
|
|
"resolved",
|
|
"predefined",
|
|
"proposals",
|
|
"pulls",
|
|
"kept"
|
|
],
|
|
"logs": [
|
|
"history"
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-config",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-config",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-config"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-config",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-config",
|
|
"binary": "mesh-config",
|
|
"loads": [
|
|
"mesh-config"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|