You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2023/01/12 02:29:01 UTC

[dolphinscheduler] branch release/helm created (now 156b2d1e4c)

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

kezhenxu94 pushed a change to branch release/helm
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


      at 156b2d1e4c Add documentation to release Helm Chart

This branch includes the following new commits:

     new 156b2d1e4c Add documentation to release Helm Chart

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dolphinscheduler] 01/01: Add documentation to release Helm Chart

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch release/helm
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 156b2d1e4c531900c4dd183114c3745255870152
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu Jan 12 10:07:08 2023 +0800

    Add documentation to release Helm Chart
---
 deploy/kubernetes/dolphinscheduler/Chart.yaml |  2 +-
 docs/docs/en/contribute/release.md            | 44 +++++++++++++------------
 docs/docs/zh/contribute/release.md            | 46 ++++++++++++++-------------
 3 files changed, 49 insertions(+), 43 deletions(-)

diff --git a/deploy/kubernetes/dolphinscheduler/Chart.yaml b/deploy/kubernetes/dolphinscheduler/Chart.yaml
index f7ff2617a4..bb886ea8c5 100644
--- a/deploy/kubernetes/dolphinscheduler/Chart.yaml
+++ b/deploy/kubernetes/dolphinscheduler/Chart.yaml
@@ -16,7 +16,7 @@
 #
 
 apiVersion: v2
-name: dolphinscheduler
+name: dolphinscheduler-helm
 description: Dolphin Scheduler is a distributed and easy-to-expand visual DAG workflow scheduling system, dedicated to solving the complex dependencies in data processing, making the scheduling system out of the box for data processing.
 home: https://dolphinscheduler.apache.org
 icon: https://dolphinscheduler.apache.org/img/hlogo_colorful.svg
diff --git a/docs/docs/en/contribute/release.md b/docs/docs/en/contribute/release.md
index 3cd631d74c..e08b031b7d 100644
--- a/docs/docs/en/contribute/release.md
+++ b/docs/docs/en/contribute/release.md
@@ -514,31 +514,35 @@ git checkout -b "${VERSION}" "${VERSION}"
 
 # You should test whether the standalone-server images work or not
 docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
-
-# If success, push to dockerhub
-docker push apache/dolphinscheduler-tools:"${VERSION}"
-docker push apache/dolphinscheduler-standalone-server:"${VERSION}"
-docker push apache/dolphinscheduler-master:"${VERSION}"
-docker push apache/dolphinscheduler-worker:"${VERSION}"
-docker push apache/dolphinscheduler-api:"${VERSION}"
-docker push apache/dolphinscheduler-alert-server:"${VERSION}"
 ```
 
 > Note: To push to dockerhub, you must have Apache organization permission of dockerhub. If you don’t you need to require
 > from Apache infra Jira. You can refer to here to submit an application from [here](https://issues.apache.org/jira/projects/INFRA/issues/INFRA-23314)
 >
-> You can also build and push docker by single command if you make sure the images work fine
->
-> ```shell
-> ./mvnw -B clean deploy \
->     -Dmaven.test.skip \
->     -Dmaven.javadoc.skip \
->     -Dmaven.checkstyle.skip \
->     -Dmaven.deploy.skip \
->     -Ddocker.tag="${VERSION}" \
->     -Ddocker.hub=apache \
->     -Pdocker,release
-> ```
+
+After verifying the Docker images works as expected, you need to publish the Docker images by the following command:
+
+```shell
+./mvnw -B clean deploy \
+    -Dmaven.test.skip \
+    -Dmaven.javadoc.skip \
+    -Dmaven.checkstyle.skip \
+    -Dmaven.deploy.skip \
+    -Ddocker.tag="${VERSION}" \
+    -Ddocker.hub=apache \
+    -Pdocker,release
+```
+
+## Publish Helm Chart
+
+We will also publish the Helm Chart to Docker Hub so that users don't need to download our source codes just in order
+to install DolphinScheduler with Helm, run the following command to publish the Helm Chart to Docker Hub.
+
+```bash
+cd deploy/kubernetes
+helm package dolphinscheduler
+helm push dolphinscheduler-helm-$VERSION.tgz oci://registry-1.docker.io/apache
+```
 
 ### Send Announcement E-mail Community
 
diff --git a/docs/docs/zh/contribute/release.md b/docs/docs/zh/contribute/release.md
index 4febcbb810..9323737619 100644
--- a/docs/docs/zh/contribute/release.md
+++ b/docs/docs/zh/contribute/release.md
@@ -515,31 +515,33 @@ git checkout -b "${VERSION}" "${VERSION}"
 
 # You should test whether the standalone-server images work or not
 docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
-
-# If success, push to dockerhub
-docker push apache/dolphinscheduler-tools:"${VERSION}"
-docker push apache/dolphinscheduler-standalone-server:"${VERSION}"
-docker push apache/dolphinscheduler-master:"${VERSION}"
-docker push apache/dolphinscheduler-worker:"${VERSION}"
-docker push apache/dolphinscheduler-api:"${VERSION}"
-docker push apache/dolphinscheduler-alert-server:"${VERSION}"
 ```
 
-> 注意:推送到 dockerhub,必须有 dockerhub 的 Apache 组织权限。 如果你不需要,你需要向 Apache infra Jira 申请。 您可以参考
+> 注意:推送到 dockerhub,必须有 dockerhub 的 Apache 组织权限。 如果你没有权限,你需要向 Apache infra Jira 申请。 您可以参考
 > [此处](https://issues.apache.org/jira/projects/INFRA/issues/INFRA-23314)提交申请
->
-> 如果您确保 docker image 正常工作,您也可以通过单个命令构建和推送 docker
->
-> ```shell
-> ./mvnw -B clean deploy \
->     -Dmaven.test.skip \
->     -Dmaven.javadoc.skip \
->     -Dmaven.checkstyle.skip \
->     -Dmaven.deploy.skip \
->     -Ddocker.tag="${VERSION}" \
->     -Ddocker.hub=apache \
->     -Pdocker,release
-> ```
+
+如果您确保 docker 镜像正常工作,您需要通过以下命令将镜像发布到 Docker Hub
+
+```shell
+./mvnw -B clean deploy \
+    -Dmaven.test.skip \
+    -Dmaven.javadoc.skip \
+    -Dmaven.checkstyle.skip \
+    -Dmaven.deploy.skip \
+    -Ddocker.tag="${VERSION}" \
+    -Ddocker.hub=apache \
+    -Pdocker,release
+```
+
+## 发布 Helm Chart
+
+我们也会将 Helm Chart 发布到 Docker Hub,这样用户就不需要下载我们的源码就可以使用 Helm 安装 DolphinScheduler,运行以下命令发布 Helm Chart 到 Docker Hub。
+
+```bash
+cd deploy/kubernetes
+helm package dolphinscheduler
+helm push dolphinscheduler-helm-$VERSION.tgz oci://registry-1.docker.io/apache
+```
 
 ### 发送公告邮件通知社区