This commit is contained in:
zzjc1234 2024-05-26 01:29:36 +08:00
parent f55009d627
commit cdea4627b2
3 changed files with 2 additions and 12 deletions

View File

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

View File

@ -1,7 +0,0 @@
███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝

View File

@ -1,3 +0,0 @@
#!bash
./build/healthcheck -root=./examples/healthcheck/asciimsg -whitelist=".*\.md" -whitelist=".*\.json" -whitelist=".*\.sh" -whitelist=".git.*" -whitelist=".*\.txt"