103 lines
2.5 KiB
JSON
103 lines
2.5 KiB
JSON
{
|
|
"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"
|
|
],
|
|
"onMissed": true,
|
|
"onSyncFailed": true,
|
|
"webhook": {
|
|
"url": "https://ntfy.vds.kzntsv.site/sched-alerts",
|
|
"headers": {
|
|
"Authorization": "Basic dml0eWE6UHJ5YWtoaW45"
|
|
}
|
|
}
|
|
}
|
|
}
|