feat: tidy conf

This commit is contained in:
张泊明518370910136 2024-10-14 10:34:32 -04:00
parent a0008c69be
commit 244590b5f1
GPG Key ID: CA088E6D9284F870
3 changed files with 12 additions and 15 deletions

View File

@ -9,14 +9,17 @@
"args": [
"./healthcheck",
"-root=.",
"releaseCheck=false",
"-releaseTag=h1",
"-releaseTag=h2",
"-releaseTag=test"
],
"env": [
"PATH=/usr/bin:/bin"
"-whitelist=stderr",
"-whitelist=stdout",
"-whitelist=.*\\.md",
"-whitelist=.*\\.json",
"-whitelist=healthcheck",
"releaseCheck=false",
"-releaseTag=h1",
"-releaseTag=h2",
"-releaseTag=test"
],
"env": ["PATH=/usr/bin:/bin"],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
@ -26,10 +29,7 @@
"src": "./../../../../../../build/healthcheck"
}
},
"copyOut": [
"stdout",
"stderr"
],
"copyOut": ["stdout", "stderr"],
"stdin": {
"content": ""
},

View File

@ -1 +1 @@
[{"name":"healthcheck","results":[{"score":0,"comment":"### Forbidden File Check Failed:\nThe following forbidden files were found: README.md, conf.json, expected.json, healthcheck, stderr, stdin.sh, stdout\n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in README.md conf.json expected.json healthcheck stderr stdin.sh stdout; do git filter-repo --force --invert-paths --path \"$i\"; done\ngit remote add origin \ngit push --set-upstream origin --force\n"}],"force_quit":true}]
[{"name":"healthcheck","results":[{"score":0,"comment":""}],"force_quit":false}]

View File

@ -1,3 +0,0 @@
#!bash
./build/healthcheck -root=./examples/healthcheck/release -releaseTags="h1" -releaseTags="h2" -releaseTags="h3" -releaseTags="h4" -releaseCategories="homework" -releaseNumber="2"