diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-04-13 19:54:45 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-04-13 19:54:45 +0300 |
commit | 8128526611504a044400ad266a2cccb2f289fdac (patch) | |
tree | 4991ea44d4c5ee10f4f3194a2b60823535883300 | |
parent | 15d3532f49b3662c9ca277db63052de97e7ed735 (diff) | |
download | ydb-8128526611504a044400ad266a2cccb2f289fdac.tar.gz |
Revert ci move
-rw-r--r-- | ydb/docs/a.yaml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/ydb/docs/a.yaml b/ydb/docs/a.yaml index f4da06176a7..d7004071d4f 100644 --- a/ydb/docs/a.yaml +++ b/ydb/docs/a.yaml @@ -21,3 +21,86 @@ arcanum: name: kikimr ship: 1 +ci: + permissions: + start-flow: + - service: edition_90_ydb_cs + - service: kikimr + secret: sec-01g3rbfrx24zvmxgqq6yb0ye1b # id секрета, созданного на шаге 1 + runtime: + # Sandbox-группа (https://sandbox.yandex-team.ru/admin/groups), + # в которую должен входить ваш робот + # Создать группу можно по инструкции https://docs.yandex-team.ru/sandbox/groups + sandbox: + owner: YDB-DOCS-CI + # Настройки уведомлений при падении сборки (https://docs.yandex-team.ru/ci/runtime) + notifications: + - statuses: FAILURE + transport: email # доступные транспорты: telegram, email, jabber, q + # логины сотрудников, Sandbox-группы, рассылки (рассылки только для email уведомлений) и др. + recipients: YDB-DOCS-CI + actions: + # определение экшена, который будет вызван при пулл-реквесте, + # затрагивающим вашу документацию + docs: + title: Deploy docs + flow: deploy-pr-docs + triggers: + - on: pr + releases: + release-docs: + title: Release YDB internal and tech docs + flow: release-docs + auto: true + filters: + - sub-paths: ['**'] + - abs-paths: [kikimr/docs/**] + + stages: + - id: build + title: Build + displace: true + - id: testing + title: Testing + displace: true + - id: stable + title: Stable + + flows: + deploy-pr-docs: + jobs: + deploy: + title: Deploy docs + task: common/docs/deploy + input: + targets: kikimr/docs/ru/docs_oss;kikimr/docs/ru/docs_tech;kikimr/docs/ru/docs_yfm # путь до вашего проекта от корня Аркадии + arcanum_review_id: ${context.launch_pull_request_info.pull_request.id} + notify: true # отставлять комментарий к ПР с ссылкой на выложенную документацию + + release-docs: + jobs: + deploy: + title: Deploy docs + task: common/docs/deploy + stage: build + input: + targets: kikimr/docs/ru/docs_tech;kikimr/docs/ru/docs_yfm # путь до вашего проекта от корня Аркадии + + release-to-testing: + title: Release docs to testing + task: common/docs/release + needs: deploy + stage: testing + input: + projects: ${tasks.deploy.output_params.projects} + environments: testing + + release-to-stable: + title: Release docs to stable + task: common/docs/release + needs: release-to-testing + manual: true + stage: stable + input: + projects: ${tasks.deploy.output_params.projects} + environments: production |