You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2022/12/06 11:38:45 UTC

[shardingsphere] branch master updated: feat(release): release doc update (#22701)

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

wuweijie 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 fe6eeb2a762 feat(release): release doc update (#22701)
fe6eeb2a762 is described below

commit fe6eeb2a762b783e705c842b490169c844c864ca
Author: Ghoul_Lee <wi...@gmail.com>
AuthorDate: Tue Dec 6 19:38:39 2022 +0800

    feat(release): release doc update (#22701)
    
    * feat(release): release doc update for generate index.yaml and upload tgz file
    
    * feat(release): add helm check
    
    * feat(release): add helm check
    
    * feat(release): remove step 6
---
 .../involved/release/shardingsphere-on-cloud.cn.md   | 19 +++++++++++++------
 .../involved/release/shardingsphere-on-cloud.en.md   | 20 +++++++++++++-------
 2 files changed, 26 insertions(+), 13 deletions(-)

diff --git a/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md b/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
index e595219f571..9fe79417d28 100644
--- a/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
+++ b/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
@@ -204,12 +204,19 @@ helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apac
 helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apache-shardingsphere-operator-cluster-charts
 helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apache-shardingsphere-proxy-charts
 ```
+### 5. 上传 charts,生成 index
+1. 上传上一步生成的 tgz 文件至 release 的 Assets 下
+2. 生成 index.yaml
+```shell
+cd ~/shardingsphere-on-cloud/charts
+mkdir release
+mv *.tgz release
+git checkout gh-pages 
+mv ~/shardingsphere-on-cloud/index.yaml index.yaml
+helm repo index --url https://github.com/apache/shardingsphere-on-cloud/releases/download/${RELEASE.VERSION}  . --merge index.yaml
+```
+3. 替换原有的 index.yaml
 
-### 5. 更新下载页面
-
-更新如下页面:
-* <https://shardingsphere.apache.org/document/current/en/downloads/>
-* <https://shardingsphere.apache.org/document/current/cn/downloads/>
 
 
 ## 检查发布结果
@@ -283,7 +290,7 @@ helm repo add apache  https://apache.github.io/shardingsphere-on-cloud
 helm search repo apache
 ```
 
-可以查询到三个制品即为发布成功,`helm repo add` 和 `helm search repo` 会根据 index.yaml 中的校验值进行校验 
+可以查询到三个制品即为发布成功,`helm repo add` 和 `helm search repo -l` 会根据 index.yaml 中的校验值进行校验 
 
 ```shell
 NAME                                              	CHART VERSION	           APP VERSION	DESCRIPTION
diff --git a/docs/community/content/involved/release/shardingsphere-on-cloud.en.md b/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
index cfb5107f3da..436c0318f3c 100644
--- a/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
+++ b/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
@@ -205,12 +205,18 @@ helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apac
 helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apache-shardingsphere-operator-cluster-charts
 helm package --sign --key '${GPG 用户名}' --keyring ~/.gnupg/secring.gpg apache-shardingsphere-proxy-charts
 ```
-
-### 5. Update the download page
-
-Update the following pages:
-* <https://shardingsphere.apache.org/document/current/en/downloads/>
-* <https://shardingsphere.apache.org/document/current/cn/downloads/>
+### 5. 上传 charts,生成 index
+1. Upload the tgz file generated in the previous step to the Assets of release
+2. generate index.yaml
+```shell
+cd ~/shardingsphere-on-cloud/charts
+mkdir release
+mv *.tgz release
+git checkout gh-pages 
+mv ~/shardingsphere-on-cloud/index.yaml index.yaml
+helm repo index --url https://github.com/apache/shardingsphere-on-cloud/releases/download/${RELEASE.VERSION}  . --merge index.yaml
+```
+3. Replace the original index.yaml
 
 
 ### Check Release
@@ -285,7 +291,7 @@ helm repo add apache  https://apache.github.io/shardingsphere-on-cloud
 helm search repo apache
 ```
 
-If three products can be queried, the release is successful, and `helm repo add` and `helm search repo` will be verified according to the verification value in index.yaml
+If three products can be queried, the release is successful, and `helm repo add` and `helm search repo -l` will be verified according to the verification value in index.yaml
 
 
 ```shell