feat: move to repo-health-checker

This commit is contained in:
张泊明518370910136 2024-10-21 04:35:57 -04:00
parent 6a721037ec
commit e4fa4be52f
GPG Key ID: CA088E6D9284F870

View File

@ -1,12 +1,13 @@
{ {
"stages" : [ { "stages": [
{
"name": "healthcheck", "name": "healthcheck",
"executor": { "executor": {
"name": "sandbox", "name": "sandbox",
"with": { "with": {
"default": { "default": {
"args": [ "args": [
"./healthcheck", "/tmp/repo-health-checker",
"-root=.", "-root=.",
"-checkFileNameList=.gitignore,.drone.yml", "-checkFileNameList=.gitignore,.drone.yml",
"-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,52ca5824f38a87aa7c31f10d78611a9ed827c96d1f5a99a55b66f34bc1fe1afe" "-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,52ca5824f38a87aa7c31f10d78611a9ed827c96d1f5a99a55b66f34bc1fe1afe"
@ -17,18 +18,32 @@
"procLimit": 50, "procLimit": 50,
"copyInDir": ".", "copyInDir": ".",
"copyIn": { "copyIn": {
"healthcheck" : {"src" : "./../../../../../../build/healthcheck"} "/tmp/repo-health-checker": {
"src": "./../../../../../../build/repo-health-checker"
}
}, },
"copyOut": ["stdout", "stderr"], "copyOut": ["stdout", "stderr"],
"stdin" : {"content" : ""}, "stdin": {
"stdout" : {"name" : "stdout", "max" : 4096}, "content": ""
"stderr" : {"name" : "stderr", "max" : 4096} },
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
}
} }
} }
}, },
"parser": { "parser": {
"name": "healthcheck", "name": "healthcheck",
"with" : {"score" : 10, "comment" : " + comment from toml conf"} "with": {
"score": 10,
"comment": " + comment from toml conf"
} }
} ] }
}
]
} }