From 6723afb1481f5d92d3cac65e368ab71836c51f0b Mon Sep 17 00:00:00 2001 From: vitya Date: Sat, 29 Aug 2026 18:15:15 +0300 Subject: [PATCH] =?UTF-8?q?docs(runbook):=20sync=20sched.tasks.json=20sour?= =?UTF-8?q?ce-of-truth=20=E2=80=94=20=D1=82=D0=B0=D1=81=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B2=D0=BE=D1=80=D0=BA=D0=B5=D1=80=D0=BE=D0=B2=20@apilki=20(?= =?UTF-8?q?=D0=BC=D0=BE=D0=BA-=D0=BA=D0=BE=D0=BD=D1=82=D1=83=D1=80=20verda?= =?UTF-8?q?ccio+Gitea,=20=D0=BF=D0=BB=D0=B5=D0=B9=D1=81=D1=85=D0=BE=D0=BB?= =?UTF-8?q?=D0=B4=D0=B5=D1=80=D1=8B=20=D1=81=D0=B5=D0=BA=D1=80=D0=B5=D1=82?= =?UTF-8?q?=D0=BE=D0=B2;=20task:1537)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- host-stacks/vds-kzntsv/sched.tasks.json | 92 ++++++++++++++++++++++++- 1 file changed, 90 insertions(+), 2 deletions(-) diff --git a/host-stacks/vds-kzntsv/sched.tasks.json b/host-stacks/vds-kzntsv/sched.tasks.json index f0d1f9e..2f01a88 100644 --- a/host-stacks/vds-kzntsv/sched.tasks.json +++ b/host-stacks/vds-kzntsv/sched.tasks.json @@ -1,7 +1,95 @@ { - "tasks": [], + "tasks": [ + { + "name": "ozon-seller-pipeline", + "runner": "http", + "config": { + "url": "http://ozon-seller-builder:8080/run?async=1", + "method": "POST", + "envelope": true, + "auth": { + "apiKey": "__SCHED_API_KEY__" + }, + "data": { + "stages": [ + "hash", + "patch", + "diff", + "classify", + "generate", + "fix", + "build", + "postman", + "state", + "publish" + ], + "dryRun": false, + "readmeTemplate": "/app/data/package-readme.md" + } + } + }, + { + "name": "yandex-market-pipeline", + "runner": "http", + "config": { + "handler": "pipeline", + "url": "http://ym-client-builder:8080/run", + "method": "POST", + "envelope": true, + "auth": { + "apiKey": "__SCHED_API_KEY__" + }, + "data": { + "stages": [ + "fetch", + "detect", + "diff", + "classify", + "patch", + "generate", + "fix", + "build", + "test", + "postmanGenerate", + "postman", + "publish", + "githubDistro" + ], + "dryRun": false, + "repo": "https://github.com/yandex-market/yandex-market-partner-api", + "branch": "main", + "workDir": "/app/data/clone", + "snapshotsDir": "data/openapi/snapshots", + "statePath": "data/state.json", + "outputDir": "data/output/typescript", + "testsDir": "tests/client", + "registry": "__PUBLISH_REGISTRY__", + "remoteBase": "__PUBLISH_REMOTE_BASE__", + "githubApiBase": "__PUBLISH_GH_API_BASE__", + "notify": { + "ntfy": { + "url": "http://ntfy", + "topic": "ym-client-builder" + }, + "email": { + "to": "vitya.kuznetsov@gmail.com", + "endpoint": "http://unisender-mock:8080/ru/transactional/api/v1/email/send.json", + "on": [ + "published", + "report", + "failed" + ] + } + } + }, + "timeoutMs": 900000 + } + } + ], "alerts": { - "on": ["failed"], + "on": [ + "failed" + ], "onMissed": true, "onSyncFailed": true, "webhook": {