From 8b6f94d1154807cdc533dac6ebeb67a912ca82ba Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 21:57:45 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 100 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 43 deletions(-) diff --git a/conf.json b/conf.json index df7e112..84229de 100644 --- a/conf.json +++ b/conf.json @@ -1,47 +1,61 @@ { - "skipGitea": true, - "stages": [ - { - "name": "keyword", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": ["bash", "-c", ". ./src/lib.sh; check_files ./src/assets"], - "env": ["PATH=/usr/bin:/bin:/usr/local/bin"], - "cpuLimit": 10000000000, - "memoryLimit": 104857600, - "procLimit": 50, - "copyInDir": ".", - "copyOut": ["stdout", "stderr"], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 65536 - }, - "stderr": { - "name": "stderr", - "max": 65536 - } - } - } - }, - "parser": { - "name": "keyword", - "with": { - "score": 100, - "files": ["stdout"], - "forceQuitOnDeduct": true, - "matches": [ + "stage": { + "stages": [ { - "keywords": ["check files error"], - "score": 5 + "name": "keyword", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "bash", + "-c", + ". ./src/lib.sh; check_files ./src/assets" + ], + "env": [ + "PATH=/usr/bin:/bin:/usr/local/bin" + ], + "cpuLimit": 10000000000, + "memoryLimit": 104857600, + "procLimit": 50, + "copyInDir": ".", + "copyOut": [ + "stdout", + "stderr" + ], + "stdin": { + "content": "" + }, + "stdout": { + "name": "stdout", + "max": 65536 + }, + "stderr": { + "name": "stderr", + "max": 65536 + } + } + } + }, + "parser": { + "name": "keyword", + "with": { + "score": 100, + "files": [ + "stdout" + ], + "forceQuitOnDeduct": true, + "matches": [ + { + "keywords": [ + "check files error" + ], + "score": 5 + } + ] + } + } } - ] - } - } + ] } - ] -} +} \ No newline at end of file