chore: remove nested fields

This commit is contained in:
张泊明518370910136 2025-09-27 01:19:56 -07:00
parent 6c34cc00b0
commit 2716284d7c
GPG Key ID: CA088E6D9284F870

102
conf.json
View File

@ -1,58 +1,56 @@
{ {
"stage": { "stages": [
"stages": [ {
{ "name": "healthcheck",
"name": "healthcheck", "executor": {
"executor": { "name": "sandbox",
"name": "sandbox", "with": {
"with": { "default": {
"default": { "args": [
"args": [ "/tmp/repo-health-checker",
"/tmp/repo-health-checker", "-root=.",
"-root=.", "-meta=readme",
"-meta=readme", "-repoSize=0.1"
"-repoSize=0.1" ],
], "env": [
"env": [ "PATH=/usr/bin:/bin"
"PATH=/usr/bin:/bin" ],
], "cpuLimit": 10000000000,
"cpuLimit": 10000000000, "memoryLimit": 104857600,
"memoryLimit": 104857600, "procLimit": 50,
"procLimit": 50, "copyInDir": ".",
"copyInDir": ".", "copyIn": {
"copyIn": { "/tmp/repo-health-checker": {
"/tmp/repo-health-checker": { "src": "./../../../../../../build/repo-health-checker"
"src": "./../../../../../../build/repo-health-checker"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
} }
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
} }
} }
}, }
"parsers": [ },
{ "parsers": [
"name": "healthcheck", {
"with": { "name": "healthcheck",
"score": 10, "with": {
"comment": " + comment from toml conf" "score": 10,
} "comment": " + comment from toml conf"
} }
] }
} ]
] }
} ]
} }