You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ki...@apache.org on 2020/08/01 07:43:34 UTC
[shardingsphere] branch master updated: docker release guide for
elasticjob (#6567)
This is an automated email from the ASF dual-hosted git repository.
kimmking 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 390eb1b docker release guide for elasticjob (#6567)
390eb1b is described below
commit 390eb1b5d8c7a3c3c35a59b5a5fe70dadbd7f605
Author: Zhang Yonglun <zh...@apache.org>
AuthorDate: Sat Aug 1 15:43:21 2020 +0800
docker release guide for elasticjob (#6567)
* docker release for elasticjob
* docker release guide for elasticjob ui
---
.../content/contribute/release-elasticjob-ui.cn.md | 66 ++++++++++++++++++++++
.../content/contribute/release-elasticjob-ui.en.md | 66 ++++++++++++++++++++++
.../content/contribute/release-elasticjob.cn.md | 33 +++++++++++
.../content/contribute/release-elasticjob.en.md | 33 +++++++++++
4 files changed, 198 insertions(+)
diff --git a/docs/community/content/contribute/release-elasticjob-ui.cn.md b/docs/community/content/contribute/release-elasticjob-ui.cn.md
index 1b3a71b..f8cb623 100644
--- a/docs/community/content/contribute/release-elasticjob-ui.cn.md
+++ b/docs/community/content/contribute/release-elasticjob-ui.cn.md
@@ -387,6 +387,72 @@ GPG签名文件和哈希校验文件的下载连接应该使用这个前缀: `
`最新版本`中保留一个最新的版本。
+### 发布Docker (cloud-ui)
+
+#### 准备工作
+
+本地安装Docker,并将Docker服务启动起来
+
+#### 编译Docker镜像
+
+```shell
+cd ~/elasticjob-ui/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### 给本地Docker镜像打标记
+
+通过`docker images`查看到IMAGE ID,例如为:e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-ui:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-ui:${RELEASE.VERSION}
+```
+
+#### 发布Docker镜像
+
+```shell
+docker push apache/shardingsphere-elasticjob-cloud-ui:latest
+docker push apache/shardingsphere-elasticjob-cloud-ui:${RELEASE_VERSION}
+```
+
+#### 确认发布成功
+
+登录[Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-cloud-ui/)查看是否有发布的镜像
+
+### 发布Docker (lite-ui)
+
+#### 准备工作
+
+本地安装Docker,并将Docker服务启动起来
+
+#### 编译Docker镜像
+
+```shell
+cd ~/elasticjob-ui/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### 给本地Docker镜像打标记
+
+通过`docker images`查看到IMAGE ID,例如为:e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-lite-ui:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-lite-ui:${RELEASE.VERSION}
+```
+
+#### 发布Docker镜像
+
+```shell
+docker push apache/shardingsphere-elasticjob-lite-ui:latest
+docker push apache/shardingsphere-elasticjob-lite-ui:${RELEASE_VERSION}
+```
+
+#### 确认发布成功
+
+登录[Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-lite-ui/)查看是否有发布的镜像
+
### GitHub版本发布
在[GitHub Releases](https://github.com/apache/shardingsphere-elasticjob-ui/releases)页面的`shardingsphere-elasticjob-ui-${RELEASE_VERSION}`版本上点击`Edit`
diff --git a/docs/community/content/contribute/release-elasticjob-ui.en.md b/docs/community/content/contribute/release-elasticjob-ui.en.md
index f03faf7..9b67bef 100644
--- a/docs/community/content/contribute/release-elasticjob-ui.en.md
+++ b/docs/community/content/contribute/release-elasticjob-ui.en.md
@@ -395,6 +395,72 @@ GPG signatures and hashes (SHA* etc) should use URL start with `https://download
Keep one latest versions in `Latest releases`.
+### Docker Release (cloud-ui)
+
+#### Preparation
+
+Install docker locally and start the docker service
+
+#### Compile Docker Image
+
+```shell
+cd ~/elasticjob-ui/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### Tag the local Docker Image
+
+Check the image ID through `docker images`, for example: e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-ui:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-ui:${RELEASE.VERSION}
+```
+
+#### Publish Docker Image
+
+```shell
+docker push apache/shardingsphere-elasticjob-cloud-ui:latest
+docker push apache/shardingsphere-elasticjob-cloud-ui:${RELEASE_VERSION}
+```
+
+#### Confirm the successful release
+
+Login [Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-cloud-ui/) to check whether there are published images
+
+### Docker Release (lite-ui)
+
+#### Preparation
+
+Install docker locally and start the docker service
+
+#### Compile Docker Image
+
+```shell
+cd ~/elasticjob-ui/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### Tag the local Docker Image
+
+Check the image ID through `docker images`, for example: e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-lite-ui:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-lite-ui:${RELEASE.VERSION}
+```
+
+#### Publish Docker Image
+
+```shell
+docker push apache/shardingsphere-elasticjob-lite-ui:latest
+docker push apache/shardingsphere-elasticjob-lite-ui:${RELEASE_VERSION}
+```
+
+#### Confirm the successful release
+
+Login [Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-lite-ui/) to check whether there are published images
+
### Publish release in GitHub
Click `Edit` in [GitHub Releases](https://github.com/apache/shardingsphere-elasticjob-ui/releases)'s `shardingsphere-elasticjob-ui-${RELEASE_VERSION}` version
diff --git a/docs/community/content/contribute/release-elasticjob.cn.md b/docs/community/content/contribute/release-elasticjob.cn.md
index dc24aec..c72d431 100644
--- a/docs/community/content/contribute/release-elasticjob.cn.md
+++ b/docs/community/content/contribute/release-elasticjob.cn.md
@@ -401,6 +401,39 @@ GPG签名文件和哈希校验文件的下载连接应该使用这个前缀: `
`最新版本`中保留一个最新的版本。
+### 发布Docker
+
+#### 准备工作
+
+本地安装Docker,并将Docker服务启动起来
+
+#### 编译Docker镜像
+
+```shell
+cd ~/elasticjob/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### 给本地Docker镜像打标记
+
+通过`docker images`查看到IMAGE ID,例如为:e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-scheduler:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-scheduler:${RELEASE.VERSION}
+```
+
+#### 发布Docker镜像
+
+```shell
+docker push apache/shardingsphere-elasticjob-cloud-scheduler:latest
+docker push apache/shardingsphere-elasticjob-cloud-scheduler:${RELEASE_VERSION}
+```
+
+#### 确认发布成功
+
+登录[Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-cloud-scheduler/)查看是否有发布的镜像
+
### GitHub版本发布
在[GitHub Releases](https://github.com/apache/shardingsphere-elasticjob/releases)页面的`${RELEASE_VERSION}`版本上点击`Edit`
diff --git a/docs/community/content/contribute/release-elasticjob.en.md b/docs/community/content/contribute/release-elasticjob.en.md
index 0a04812..0ef9226 100644
--- a/docs/community/content/contribute/release-elasticjob.en.md
+++ b/docs/community/content/contribute/release-elasticjob.en.md
@@ -408,6 +408,39 @@ GPG signatures and hashes (SHA* etc) should use URL start with `https://download
Keep one latest versions in `Latest releases`.
+### Docker Release
+
+#### Preparation
+
+Install docker locally and start the docker service
+
+#### Compile Docker Image
+
+```shell
+cd ~/elasticjob/elasticjob-distribution/elasticjob-cloud-scheduler-distribution/
+mvn clean package -Prelease,docker
+```
+
+#### Tag the local Docker Image
+
+Check the image ID through `docker images`, for example: e9ea51023687
+
+```shell
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-scheduler:latest
+docker tag e9ea51023687 apache/shardingsphere-elasticjob-cloud-scheduler:${RELEASE.VERSION}
+```
+
+#### Publish Docker Image
+
+```shell
+docker push apache/shardingsphere-elasticjob-cloud-scheduler:latest
+docker push apache/shardingsphere-elasticjob-cloud-scheduler:${RELEASE_VERSION}
+```
+
+#### Confirm the successful release
+
+Login [Docker Hub](https://hub.docker.com/r/apache/shardingsphere-elasticjob-cloud-scheduler/) to check whether there are published images
+
### Publish release in GitHub
Click `Edit` in [GitHub Releases](https://github.com/apache/shardingsphere-elasticjob/releases)'s `${RELEASE_VERSION}` version