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/13 13:55:28 UTC

[dolphinscheduler] branch release/helm updated (156b2d1e4c -> f91120a258)

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


    omit 156b2d1e4c Add documentation to release Helm Chart
     new f91120a258 Add documentation to release Helm Chart

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (156b2d1e4c)
            \
             N -- N -- N   refs/heads/release/helm (f91120a258)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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.


Summary of changes:
 docs/docs/en/contribute/release.md | 1 -
 1 file changed, 1 deletion(-)


[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 f91120a2581b941dea06435f0359454ec953d4aa
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Jan 13 21:55:10 2023 +0800

    Add documentation to release Helm Chart
---
 deploy/kubernetes/dolphinscheduler/Chart.yaml |  2 +-
 docs/docs/en/contribute/release.md            | 45 ++++++++++++++------------
 docs/docs/zh/contribute/release.md            | 46 ++++++++++++++-------------
 3 files changed, 49 insertions(+), 44 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..373be69da1 100644
--- a/docs/docs/en/contribute/release.md
+++ b/docs/docs/en/contribute/release.md
@@ -514,31 +514,34 @@ 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
+```
 
 ### 发送公告邮件通知社区