JOJ3-examples/conf.json
2024-10-17 17:44:04 +08:00

35 lines
1.1 KiB
JSON

{
"stages" : [ {
"name" : "healthcheck",
"executor" : {
"name" : "sandbox",
"with" : {
"default" : {
"args" : [
"./healthcheck",
"-root=.",
"-checkFileNameList=.gitignore,.drone.yml",
"-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,52ca5824f38a87aa7c31f10d78611a9ed827c96d1f5a99a55b66f34bc1fe1afe"
],
"env" : ["PATH=/usr/bin:/bin"],
"cpuLimit" : 10000000000,
"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"}
}
} ]
}