From c8883581fb08ed38c8793d1b37d7ffd15f1c0dfc Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 21:57:44 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 93 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 52 insertions(+), 41 deletions(-) diff --git a/conf.json b/conf.json index dfb55c0..1cb4b4b 100644 --- a/conf.json +++ b/conf.json @@ -1,44 +1,55 @@ { - "stages": [ - { - "name": "healthcheck", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": ["/tmp/repo-health-checker", "-root=.", "-meta=changelog"], - "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=changelog" + ], + "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