You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by lu...@apache.org on 2022/06/20 10:00:07 UTC

[shardingsphere] branch master updated: Clarify documents about generating Helm Chart index (#18457)

This is an automated email from the ASF dual-hosted git repository.

lujingshang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 77d5ab3ec8f Clarify documents about generating Helm Chart index (#18457)
77d5ab3ec8f is described below

commit 77d5ab3ec8f9a98945f705a24fea5618ff0de342
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Mon Jun 20 17:59:57 2022 +0800

    Clarify documents about generating Helm Chart index (#18457)
---
 docs/community/content/contribute/release.cn.md | 14 +++++++++++++-
 docs/community/content/contribute/release.en.md | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/docs/community/content/contribute/release.cn.md b/docs/community/content/contribute/release.cn.md
index e0eeb77b152..3f42622789c 100644
--- a/docs/community/content/contribute/release.cn.md
+++ b/docs/community/content/contribute/release.cn.md
@@ -639,7 +639,19 @@ svn del -m "Archiving release ${PREVIOUS.RELEASE.VERSION}" https://dist.apache.o
 确认下载页面中的新发布版本的链接可用后,在 GitHub 页面创建 Pull Request 将分支 `${RELEASE.VERSION}-release` 合并到 `master`。
 如果代码存在冲突,可以先把 master 分支合并到 `${RELEASE.VERSION}-release`。
 
-### 9. 邮件通知版本发布完成
+### 9. 生成 Helm Chart 索引文件并上传
+
+```shell
+mkdir -p /tmp/charts
+cd /tmp/charts
+wget https://archive.apache.org/dist/shardingsphere/${RELEASE.VERSION}/apache-shardingsphere-proxy-chart-${CHART.RELEASE.VERSION}.tgz
+curl https://shardingsphere.apache.org/charts/index.yaml > previous_index.yaml
+helm repo index --url https://archive.apache.org/dist/shardingsphere/${RELEASE.VERSION} --merge previous_index.yaml .
+```
+
+检查生成的 `index.yaml` 文件,确认无误后更新 <https://github.com/apache/shardingsphere-doc/blob/asf-site/charts/index.yaml>。
+
+### 10. 邮件通知版本发布完成
 
 发送邮件到 `dev@shardingsphere.apache.org` 和 `announce@apache.org` 通知完成版本发布。
 
diff --git a/docs/community/content/contribute/release.en.md b/docs/community/content/contribute/release.en.md
index 8a143aae52a..012b63e7b0e 100644
--- a/docs/community/content/contribute/release.en.md
+++ b/docs/community/content/contribute/release.en.md
@@ -649,7 +649,19 @@ Refer to:
 After confirmed that download links of new release in download pages are available, create a Pull Request on GitHub to merge `${RELEASE.VERSION}-release` into `master.
 If code conflicted, you may merge `master` into `${RELEASE.VERSION}-release` before merging Pull Request.
 
-### 9. Announce release completed by email
+### 9. Generate Helm Chart index and upload
+
+```shell
+mkdir -p /tmp/charts
+cd /tmp/charts
+wget https://archive.apache.org/dist/shardingsphere/${RELEASE.VERSION}/apache-shardingsphere-proxy-chart-${CHART.RELEASE.VERSION}.tgz
+curl https://shardingsphere.apache.org/charts/index.yaml > previous_index.yaml
+helm repo index --url https://archive.apache.org/dist/shardingsphere/${RELEASE.VERSION} --merge previous_index.yaml .
+```
+
+Confirm that there is no error in the generated `index.yaml`, then update <https://github.com/apache/shardingsphere-doc/blob/asf-site/charts/index.yaml>.
+
+### 10. Announce release completed by email
 
 Send e-mail to `dev@shardingsphere.apache.org` and `announce@apache.org` to announce the release is finished