This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new cc99f2f add release-prepare.md and release-post.md (#305)
cc99f2f is described below
commit cc99f2f691548742fe0ce78c6a8ffe227cc84822
Author: Shiwen Cheng <[email protected]>
AuthorDate: Tue Mar 16 12:28:44 2021 +0800
add release-prepare.md and release-post.md (#305)
---
community/en-us/example.md | 2 --
community/en-us/release-post.md | 22 ++++++++++++++++++++++
community/en-us/release-prepare.md | 20 ++++++++++++++++++++
community/en-us/release.md | 2 ++
community/zh-cn/example.md | 2 --
community/zh-cn/release-post.md | 22 ++++++++++++++++++++++
community/zh-cn/release-prepare.md | 20 ++++++++++++++++++++
community/zh-cn/release.md | 2 ++
docs/zh-cn/1.3.5/user_doc/kubernetes-deployment.md | 4 ++--
site_config/community.jsx | 16 ++++++++++++++++
10 files changed, 106 insertions(+), 6 deletions(-)
diff --git a/community/en-us/example.md b/community/en-us/example.md
deleted file mode 100644
index b20052c..0000000
--- a/community/en-us/example.md
+++ /dev/null
@@ -1,2 +0,0 @@
-## Architecture Design
-
diff --git a/community/en-us/release-post.md b/community/en-us/release-post.md
new file mode 100644
index 0000000..4afab09
--- /dev/null
+++ b/community/en-us/release-post.md
@@ -0,0 +1,22 @@
+# Release Post
+
+## Update Official Website
+
+For example, after the release of `x.y.z`, the following updates are required:
+
+ - `docs/en-us/x.y.z` and `docs/zh-cn/x.y.z`: copy the old directory to the
new version x.y.z
+ - The reference links of the included documents keep same with x.y.z,
especially pay attention to the following file updates:
+ - `architecture-design.md`
+ - `cluster-deployment.md`
+ - `docker-deployment.md`
+ - `expansion-reduction.md`
+ - `kubernetes-deployment.md`
+ - `standalone-deployment.md`
+ - `upgrade.md`
+ - `site_config/docsx-y-z.js`: copy the old configuration file to the new
version, and keep the content link same with x.y.z
+ - `site_config/site.js`:
+ - `docsLatest`: update to x.y.z
+ - `docs0`: The `text` of two places of `en-us/zh-cn` needs to be updated to
`latest(x.y.z)`
+ - `docsxyz`: Add a drop-down menu with `key` as `docsxyz` and `text` as
`x.y.z` in `children` of two places of `en-us/zh-cn`
+ - `src/pages/docs/index.md.jsx`: Add `'x.y.z': docsxyzConfig,`
+ - `download/en-us/download.md` and `download/zh-cn/download.md`: add the
download of the x.y.z release package
diff --git a/community/en-us/release-prepare.md
b/community/en-us/release-prepare.md
new file mode 100644
index 0000000..8d10668
--- /dev/null
+++ b/community/en-us/release-prepare.md
@@ -0,0 +1,20 @@
+# Release Preparation
+
+## Update Version
+
+For example, to release `x.y.z`, the following updates are required:
+
+ - `pom.xml`: `revision`, `version`, `tag` need to be updated to x.y.z
+ - `ambari_plugin`:
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z`: the directory needs to be
updated to x.y.z
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z/alerts.json`: the content
needs to be updated to x.y.z
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z/metainfo.xml`: the content
needs to be updated to x.y.z
+ - `ambari_plugin/statcks/DOLPHIN/metainfo.xml`: the content needs to be
updated to x.y.z
+ - `sql`:
+ - `dolphinscheduler_mysql.sql`: `t_ds_version` needs to be updated to x.y.z
+ - `dolphinscheduler_postgre.sql`: `t_ds_version` needs to be updated to
x.y.z
+ - `upgrade`: whether to add`x.y.z_schema`
+ - `soft_version`: need to be updated to x.y.z
+ - `docker/kubernetes/dolphinscheduler/Chart.yaml`:
+ - `version`: helm chart version needs to be updated, different from x.y.z
+ - `appVersion`: need to be updated to x.y.z
diff --git a/community/en-us/release.md b/community/en-us/release.md
index 8f7c816..a565b79 100644
--- a/community/en-us/release.md
+++ b/community/en-us/release.md
@@ -1,3 +1,5 @@
+# Release Guide
+
## GPG Settings
### Install GPG
diff --git a/community/zh-cn/example.md b/community/zh-cn/example.md
deleted file mode 100644
index 5966f9a..0000000
--- a/community/zh-cn/example.md
+++ /dev/null
@@ -1,2 +0,0 @@
-## 系统架构设计
-
diff --git a/community/zh-cn/release-post.md b/community/zh-cn/release-post.md
new file mode 100644
index 0000000..51ff3c5
--- /dev/null
+++ b/community/zh-cn/release-post.md
@@ -0,0 +1,22 @@
+# 发版后续
+
+## 更新官网
+
+例如已发版 `x.y.z`,需要进行以下更新:
+
+ - `docs/en-us/x.y.z` 和 `docs/zh-cn/x.y.z`: 复制老版本目录改为新版本 x.y.z
+ - 所包含文档的引用链接保持和 x.y.z 一致,尤其注意以下文件更新:
+ - `architecture-design.md`
+ - `cluster-deployment.md`
+ - `docker-deployment.md`
+ - `expansion-reduction.md`
+ - `kubernetes-deployment.md`
+ - `standalone-deployment.md`
+ - `upgrade.md`
+ - `site_config/docsx-y-z.js`: 复制老配置文件改为新版本,内容链接保持和 x.y.z 一致
+ - `site_config/site.js`:
+ - `docsLatest`: 更新为 x.y.z
+ - `docs0`: 两处 `en-us/zh-cn` 的 `text` 更新为 `latest(x.y.z)`
+ - `docsxyz`: 两处 `en-us/zh-cn` 的 `children` 增加 `key` 为 `docsxyz`, `text` 为
`x.y.z` 的下拉菜单
+ - `src/pages/docs/index.md.jsx`: 增加 `'x.y.z': docsxyzConfig,`
+ - `download/en-us/download.md` 和 `download/zh-cn/download.md`: 增加 x.y.z
版本发布包的下载
diff --git a/community/zh-cn/release-prepare.md
b/community/zh-cn/release-prepare.md
new file mode 100644
index 0000000..952f35d
--- /dev/null
+++ b/community/zh-cn/release-prepare.md
@@ -0,0 +1,20 @@
+# 发版准备
+
+## 更新版本
+
+例如要发版 `x.y.z`,需要先进行以下修改:
+
+ - `pom.xml`: `revision`, `version`, `tag` 标签版本更新为 x.y.z
+ - `ambari_plugin`:
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z`: 目录版本更新为 x.y.z
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z/alerts.json`: 内容版本更新为 x.y.z
+ - `ambari_plugin/common-services/DOLPHIN/x.y.z/metainfo.xml`: 内容版本更新为 x.y.z
+ - `ambari_plugin/statcks/DOLPHIN/metainfo.xml`: 内容版本更新为 x.y.z
+ - `sql`:
+ - `dolphinscheduler_mysql.sql`: `t_ds_version` 版本更新为 x.y.z
+ - `dolphinscheduler_postgre.sql`: `t_ds_version` 版本更新为 x.y.z
+ - `upgrade`: 是否新增 `x.y.z_schema`
+ - `soft_version`: 版本更新为 x.y.z
+ - `docker/kubernetes/dolphinscheduler/Chart.yaml`:
+ - `version`: helm chart 版本更新,不要设置为 x.y.z
+ - `appVersion`: 版本更新为 x.y.z
diff --git a/community/zh-cn/release.md b/community/zh-cn/release.md
index 077457d..067fdeb 100644
--- a/community/zh-cn/release.md
+++ b/community/zh-cn/release.md
@@ -1,3 +1,5 @@
+# 发版指南
+
## GPG设置
### 安装GPG
diff --git a/docs/zh-cn/1.3.5/user_doc/kubernetes-deployment.md
b/docs/zh-cn/1.3.5/user_doc/kubernetes-deployment.md
index 4ca26ff..9e928fd 100644
--- a/docs/zh-cn/1.3.5/user_doc/kubernetes-deployment.md
+++ b/docs/zh-cn/1.3.5/user_doc/kubernetes-deployment.md
@@ -117,7 +117,7 @@ docker build -t apache/dolphinscheduler:mysql-driver .
>
> 如果你要添加 Oracle 数据源, 你可以基于官方镜像 `apache/dolphinscheduler` 进行构建.
-1. 下载 Oracle 驱动包
[ojdbc8.jar](https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/)
(such as `ojdbc8-19.9.0.0.jar`)
+1. 下载 Oracle 驱动包
[ojdbc8.jar](https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/)
(例如 `ojdbc8-19.9.0.0.jar`)
2. 创建一个新的 `Dockerfile`,用于添加 Oracle 驱动包:
@@ -134,7 +134,7 @@ docker build -t apache/dolphinscheduler:oracle-driver .
4. 推送 docker 镜像 `apache/dolphinscheduler:oracle-driver` 到一个 docker registry 中
-5. 修改 `values.yaml` 文件中 image 的 `registry` 和 `repository` 字段, 并更新
`oracle-driver`
+5. 修改 `values.yaml` 文件中 image 的 `registry` 和 `repository` 字段, 并更新 `tag` 为
`oracle-driver`
6. 部署 dolphinscheduler (详见**安装 dolphinscheduler**)
diff --git a/site_config/community.jsx b/site_config/community.jsx
index db9264e..eb70454 100644
--- a/site_config/community.jsx
+++ b/site_config/community.jsx
@@ -35,9 +35,17 @@ export default {
title: 'Release Guide',
children: [
{
+ title: 'release preparation',
+ link: '/en-us/community/release-prepare.html',
+ },
+ {
title: 'release guide',
link: '/en-us/community/release.html',
},
+ {
+ title: 'release post',
+ link: '/en-us/community/release-post.html',
+ },
],
},
{
@@ -233,9 +241,17 @@ export default {
title: '发版指南',
children: [
{
+ title: '发版准备',
+ link: '/zh-cn/community/release-prepare.html',
+ },
+ {
title: '发版指南',
link: '/zh-cn/community/release.html',
},
+ {
+ title: '发版后续',
+ link: '/zh-cn/community/release-post.html',
+ },
],
},
{