feat: move to repo-health-checker

This commit is contained in:
张泊明518370910136 2024-10-21 04:35:57 -04:00
parent 2d616caab9
commit e9af96d30f
GPG Key ID: CA088E6D9284F870

View File

@ -1,30 +1,49 @@
{ {
"stages" : [ { "stages": [
"name" : "healthcheck", {
"executor" : { "name": "healthcheck",
"name" : "sandbox", "executor": {
"with" : { "name": "sandbox",
"default" : { "with": {
"args" : "default": {
[ "./healthcheck", "-root=.", "-meta=readme", "-repoSize=0.1" ], "args": [
"env" : ["PATH=/usr/bin:/bin"], "/tmp/repo-health-checker",
"cpuLimit" : 10000000000, "-root=.",
"memoryLimit" : 104857600, "-meta=readme",
"procLimit" : 50, "-repoSize=0.1"
"copyInDir" : ".", ],
"copyIn" : { "env": ["PATH=/usr/bin:/bin"],
"healthcheck" : {"src" : "./../../../../../../build/healthcheck"} "cpuLimit": 10000000000,
}, "memoryLimit": 104857600,
"copyOut" : [ "stdout", "stderr" ], "procLimit": 50,
"stdin" : {"content" : ""}, "copyInDir": ".",
"stdout" : {"name" : "stdout", "max" : 4096}, "copyIn": {
"stderr" : {"name" : "stderr", "max" : 4096} "/tmp/repo-health-checker": {
"src": "./../../../../../../build/repo-health-checker"
}
},
"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"}
} }
} ] ]
} }