From ae3b4da71645b7ee28bae97a18ed89147754c337 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 | 99 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 46 deletions(-) diff --git a/conf.json b/conf.json index 18d92bb..80cecba 100644 --- a/conf.json +++ b/conf.json @@ -1,49 +1,56 @@ { - "stages": [ - { - "name": "healthcheck", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": [ - "/tmp/repo-health-checker", - "-root=.", - "-meta=readme", - "-repoSize=0.1" - ], - "env": ["PATH=/usr/bin:/bin"], - "cpuLimit": 10000000000, - "memoryLimit": 104857600, - "procLimit": 50, - "copyInDir": ".", - "copyIn": { - "/tmp/repo-health-checker": { - "src": "./../../../../../../build/repo-health-checker" - } - }, - "copyOut": ["stdout", "stderr"], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 4096 - }, - "stderr": { - "name": "stderr", - "max": 4096 + "stage": { + "stages": [ + { + "name": "healthcheck", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "/tmp/repo-health-checker", + "-root=.", + "-meta=readme", + "-repoSize=0.1" + ], + "env": [ + "PATH=/usr/bin:/bin" + ], + "cpuLimit": 10000000000, + "memoryLimit": 104857600, + "procLimit": 50, + "copyInDir": ".", + "copyIn": { + "/tmp/repo-health-checker": { + "src": "./../../../../../../build/repo-health-checker" + } + }, + "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" + } + } } - } - } - }, - "parser": { - "name": "healthcheck", - "with": { - "score": 10, - "comment": " + comment from toml conf" - } - } + ] } - ] -} +} \ No newline at end of file