fix: conf

This commit is contained in:
zzjc1234 2024-05-26 00:16:45 +08:00
parent 2bd7f64fa3
commit 38db53ee1e
2 changed files with 39 additions and 52 deletions

View File

@ -4,14 +4,14 @@ name = "healthcheck"
[stages.executor] [stages.executor]
name = "sandbox" name = "sandbox"
[stages.executor.with.default] [stages.executor.with.default]
args = ["bash", "./stdin.sh"] args = ["./healthcheck", "-root=.", "-meta=changelog", "-whitelist=stderr", "-whitelist=stdout", "-whitelist=.*\\.toml", "-whitelist=.*\\.md", "-whitelist=healthcheck", "-whitelist=.*\\.json", "-whitelist=.git.*"]
env = ["PATH=/usr/bin:/bin"] env = ["PATH=/usr/bin:/bin"]
cpuLimit = 10_000_000_000 cpuLimit = 10_000_000_000
memoryLimit = 104_857_600 memoryLimit = 104_857_600
procLimit = 50 procLimit = 50
copyInCwd = true copyInCwd = true
[stages.executor.with.default.copyIn.healthcheck] [stages.executor.with.default.copyIn.healthcheck]
src = "./../../../build/healthcheck" src = "./../../../../../../build/healthcheck"
copyOut = ["stdout", "stderr"] copyOut = ["stdout", "stderr"]
[stages.executor.with.default.stdin] [stages.executor.with.default.stdin]
content = "" content = ""
@ -26,3 +26,4 @@ name = "healthcheck"
[stages.parser.with] [stages.parser.with]
score = 10 score = 10
comment = " + comment from toml conf" comment = " + comment from toml conf"

View File

@ -33,19 +33,5 @@
"exit code": 0, "exit code": 0,
"stderr": "", "stderr": "",
"errorLog": null "errorLog": null
},
{
"name of check": "ReleaseCheck",
"stdout": "Failed",
"exit code": 107,
"stderr": "wrong release tag, please use one of aborting",
"errorLog": null
},
{
"name of check": "verifyFile",
"stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
"exit code": 101,
"stderr": "File is not identicalFile missingFile missingFile missing",
"errorLog": null
} }
] ]