aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbazeltsev <bazeltsev@ydb.tech>2022-08-31 18:30:28 +0300
committerbazeltsev <bazeltsev@ydb.tech>2022-08-31 18:30:28 +0300
commitd3520f6619e3db5afdd96eba52f2dac24418e075 (patch)
treea0b6e6b3d526f36b7cb9551f5f94e32fc5edeb9e
parent4dad39f703f8cabd53694b5f89b47a033b75973a (diff)
downloadydb-d3520f6619e3db5afdd96eba52f2dac24418e075.tar.gz
Updated CI config tail
updated
-rw-r--r--ydb/docs/a.yaml49
1 files changed, 48 insertions, 1 deletions
diff --git a/ydb/docs/a.yaml b/ydb/docs/a.yaml
index 59e575d047..9bfef0d957 100644
--- a/ydb/docs/a.yaml
+++ b/ydb/docs/a.yaml
@@ -28,6 +28,25 @@ ci:
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:
@@ -35,6 +54,34 @@ ci:
title: Deploy docs
task: common/docs/deploy
input:
- targets: kikimr/docs/ru/docs_oss # путь до вашего проекта от корня Аркадии
+ 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 \ No newline at end of file