fix: conf

This commit is contained in:
zzjc1234 2024-10-17 16:18:38 +08:00
parent bcddc2a20d
commit 0bbf16f946

View File

@ -1,62 +1,35 @@
{ {
"stages": [ "stages" : [ {
{ "name" : "healthcheck",
"name": "healthcheck", "executor" : {
"executor": { "name" : "sandbox",
"name": "sandbox", "with" : {
"with": { "default" : {
"default": { "args" : [
"args": [ "./healthcheck", "-root=.",
"./healthcheck", "-checkFileNameList=.gitignore,.drone.yml",
"-root=.", "-checkFileSumList="
"-whitelist=.*\\.md", "97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,"
"-whitelist=.*\\.json", "sdkljflskjfk"
"-whitelist=.git.*", ],
"-whitelist=.*\\.txt", "env" : ["PATH=/usr/bin:/bin"],
"-whitelist=stderr", "cpuLimit" : 10000000000,
"-whitelist=stdout", "memoryLimit" : 104857600,
"-whitelist=\\.drone\\.yml", "procLimit" : 50,
"-whitelist=healthcheck", "copyInDir" : ".",
"-checkFileNameList=.gitignore,.drone.yml", "copyIn" : {
"-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,sdkljflskjfk" "healthcheck" : {"src" : "./../../../../../../build/healthcheck"}
], },
"env": [ "copyOut" : [ "stdout", "stderr" ],
"PATH=/usr/bin:/bin" "stdin" : {"content" : ""},
], "stdout" : {"name" : "stdout", "max" : 4096},
"cpuLimit": 10000000000, "stderr" : {"name" : "stderr", "max" : 4096}
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"healthcheck": {
"src": "./../../../../../../build/healthcheck"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
}
}
}
},
"parser": {
"name": "healthcheck",
"with": {
"score": 10,
"comment": " + comment from toml conf"
} }
} }
},
"parser" : {
"name" : "healthcheck",
"with" : {"score" : 10, "comment" : " + comment from toml conf"}
} }
] } ]
} }