ops: мок unisender (письма в data-mail), dry-run ym до build (generate ✓), ТЗ: JSDoc */, poll-флейк sched

This commit is contained in:
2026-08-20 21:26:51 +03:00
parent 859304decb
commit e6c43314e9
5 changed files with 130 additions and 14 deletions

View File

@@ -5,12 +5,12 @@
"runner": "http",
"schedules": [{ "cron": "0 2 * * *" }],
"config": {
"url": "http://ozon-seller-builder:8080/run",
"url": "http://ozon-seller-builder:8080/run?async=1",
"method": "POST",
"envelope": true,
"auth": { "apiKey": "__SCHED_API_KEY__" },
"data": {
"stages": ["fetch", "hash", "patch", "diff", "classify", "generate", "fix", "build", "postman", "state"]
"stages": ["hash", "patch", "diff", "classify", "generate", "fix", "build", "postman", "state"]
}
}
},
@@ -19,6 +19,7 @@
"runner": "http",
"schedules": [{ "cron": "30 2 * * *" }],
"config": {
"handler": "pipeline",
"url": "http://ym-client-builder:8080/run",
"method": "POST",
"envelope": true,
@@ -27,15 +28,14 @@
"stages": ["fetch", "detect", "diff", "classify", "patch", "generate", "fix", "build", "test", "postmanGenerate", "postman"],
"repo": "https://github.com/yandex-market/yandex-market-partner-api",
"branch": "main",
"workDir": "data/clone",
"specDir": "data/openapi/snapshots",
"workDir": "/app/data/clone",
"snapshotsDir": "data/openapi/snapshots",
"statePath": "data/state.json",
"outputDir": "data/output/typescript",
"testsDir": "tests/client",
"notify": {
"ntfy": { "url": "http://ntfy", "topic": "ym-client-builder" },
"email": { "to": "vitya.kuznetsov@gmail.com", "on": ["published", "report", "failed"] }
"email": { "to": "vitya.kuznetsov@gmail.com", "endpoint": "http://unisender-mock:8080/ru/transactional/api/v1/email/send.json", "on": ["published", "report", "failed"] }
}
}
}