Browse Source

[3.0.1-prepare]Modified version before release. (#12038)

3.0.1-release
Kerwin 2 years ago committed by GitHub
parent
commit
018734c31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      deploy/docker/.env
  2. 2
      deploy/kubernetes/dolphinscheduler/Chart.yaml
  3. 2
      deploy/kubernetes/dolphinscheduler/values.yaml
  4. 424
      docs/configs/docs3-0-1.js
  5. 2
      docs/configs/index.md.jsx
  6. 6
      docs/configs/site.js
  7. 2
      docs/docs/en/contribute/join/pull-request.md
  8. 4
      docs/docs/en/guide/expansion-reduction.md
  9. 22
      docs/docs/en/guide/installation/kubernetes.md
  10. 8
      docs/docs/en/guide/start/docker.md
  11. 4
      docs/docs/en/history-versions.md
  12. 2
      docs/docs/zh/contribute/join/pull-request.md
  13. 4
      docs/docs/zh/guide/expansion-reduction.md
  14. 8
      docs/docs/zh/guide/start/docker.md
  15. 4
      docs/docs/zh/history-versions.md
  16. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql
  17. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql
  18. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
  19. 2
      dolphinscheduler-dao/src/main/resources/sql/soft_version
  20. 16
      dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/mysql/dolphinscheduler_ddl.sql
  21. 16
      dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/mysql/dolphinscheduler_dml.sql
  22. 16
      dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/postgresql/dolphinscheduler_ddl.sql
  23. 16
      dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/postgresql/dolphinscheduler_dml.sql
  24. 2
      dolphinscheduler-python/pydolphinscheduler/setup.py

2
deploy/docker/.env

@ -16,7 +16,7 @@
# under the License. # under the License.
# #
HUB=apache HUB=apache
TAG=3.0.0 TAG=3.0.1
TZ=Asia/Shanghai TZ=Asia/Shanghai
DATABASE=postgresql DATABASE=postgresql

2
deploy/kubernetes/dolphinscheduler/Chart.yaml

@ -39,7 +39,7 @@ version: 2.0.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: 3.0.0 appVersion: 3.0.1
dependencies: dependencies:
- name: postgresql - name: postgresql

2
deploy/kubernetes/dolphinscheduler/values.yaml

@ -23,7 +23,7 @@ timezone: "Asia/Shanghai"
image: image:
registry: "dolphinscheduler.docker.scarf.sh/apache" registry: "dolphinscheduler.docker.scarf.sh/apache"
tag: "3.0.0" tag: "3.0.1"
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
pullSecret: "" pullSecret: ""

424
docs/configs/docsdev.js → docs/configs/docs3-0-1.js

File diff suppressed because it is too large Load Diff

2
docs/configs/index.md.jsx

@ -43,6 +43,7 @@ import docs202Config from '../../../site_config/docs2-0-2';
import docs203Config from '../../../site_config/docs2-0-3'; import docs203Config from '../../../site_config/docs2-0-3';
import docs205Config from '../../../site_config/docs2-0-5'; import docs205Config from '../../../site_config/docs2-0-5';
import docs300Config from '../../../site_config/docs3-0-0'; import docs300Config from '../../../site_config/docs3-0-0';
import docs301Config from '../../../site_config/docs3-0-1';
import docsDevConfig from '../../../site_config/docsdev'; import docsDevConfig from '../../../site_config/docsdev';
const docsSource = { const docsSource = {
@ -62,6 +63,7 @@ const docsSource = {
'2.0.3': docs203Config, '2.0.3': docs203Config,
'2.0.5': docs205Config, '2.0.5': docs205Config,
'3.0.0': docs300Config, '3.0.0': docs300Config,
'3.0.1': docs301Config,
dev: docsDevConfig, dev: docsDevConfig,
}; };

6
docs/configs/site.js

@ -24,7 +24,7 @@ export default {
port: 8080, port: 8080,
domain: 'dolphinscheduler.apache.org', domain: 'dolphinscheduler.apache.org',
copyToDist: ['asset', 'img', 'file', '.asf.yaml', 'sitemap.xml', '.nojekyll', '.htaccess', 'googled0df7b96f277a143.html'], copyToDist: ['asset', 'img', 'file', '.asf.yaml', 'sitemap.xml', '.nojekyll', '.htaccess', 'googled0df7b96f277a143.html'],
docsLatest: '3.0.0', docsLatest: '3.0.1',
defaultSearch: 'google', // default search engine defaultSearch: 'google', // default search engine
defaultLanguage: 'en-us', defaultLanguage: 'en-us',
'en-us': { 'en-us': {
@ -45,7 +45,7 @@ export default {
children: [ children: [
{ {
key: 'docs0', key: 'docs0',
text: 'latest(3.0.0)', text: 'latest(3.0.1)',
link: '/en-us/docs/latest/user_doc/about/introduction.html', link: '/en-us/docs/latest/user_doc/about/introduction.html',
}, },
{ {
@ -168,7 +168,7 @@ export default {
children: [ children: [
{ {
key: 'docs0', key: 'docs0',
text: '最新版本latest(3.0.0)', text: '最新版本latest(3.0.1)',
link: '/zh-cn/docs/latest/user_doc/about/introduction.html', link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
}, },
{ {

2
docs/docs/en/contribute/join/pull-request.md

@ -64,7 +64,7 @@ Please refer to the commit message section.
Code style is the thing you have to consider when you submit pull request for DolphinScheduler. We using [Checkstyle](https://checkstyle.sourceforge.io), a development tool to help programmers write Java code that adheres to a coding standard, in CI to keep DolphinScheduler codebase in the same style. Your pull request could not be merged if your code style checker failed. You could format your code by *Checkstyle* in your local environment before you submit your pull request to check code style. The activation step as below: Code style is the thing you have to consider when you submit pull request for DolphinScheduler. We using [Checkstyle](https://checkstyle.sourceforge.io), a development tool to help programmers write Java code that adheres to a coding standard, in CI to keep DolphinScheduler codebase in the same style. Your pull request could not be merged if your code style checker failed. You could format your code by *Checkstyle* in your local environment before you submit your pull request to check code style. The activation step as below:
1. Prepare Checkstyle configuration file: You could download it manually by [click here](https://github.com/apache/dolphinscheduler/blob/3.0.0/style/checkstyle.xml), but find it in DolphinScheduler repository would be a better way. You could find configuration file in the path `style/checkstyle.xml` after you clone repository from Github. 1. Prepare Checkstyle configuration file: You could download it manually by [click here](https://github.com/apache/dolphinscheduler/blob/3.0.1/style/checkstyle.xml), but find it in DolphinScheduler repository would be a better way. You could find configuration file in the path `style/checkstyle.xml` after you clone repository from Github.
2. Download Checkstyle plugins in Intellij IDEA: Search plugin by keyword **CheckStyle-IDEA** or install in [this page](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea). You could see [install plugin](https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_repo) if you do not know how to install plugin in Intellij IDEA 2. Download Checkstyle plugins in Intellij IDEA: Search plugin by keyword **CheckStyle-IDEA** or install in [this page](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea). You could see [install plugin](https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_repo) if you do not know how to install plugin in Intellij IDEA

4
docs/docs/en/guide/expansion-reduction.md

@ -31,9 +31,9 @@ This article describes how to add a new master service or worker service to an e
mkdir -p /opt mkdir -p /opt
cd /opt cd /opt
# decompress # decompress
tar -zxvf apache-dolphinscheduler-3.0.0-bin.tar.gz -C /opt tar -zxvf apache-dolphinscheduler-3.0.1-bin.tar.gz -C /opt
cd /opt cd /opt
mv apache-dolphinscheduler-3.0.0-bin dolphinscheduler mv apache-dolphinscheduler-3.0.1-bin dolphinscheduler
``` ```
```markdown ```markdown

22
docs/docs/en/guide/installation/kubernetes.md

@ -12,16 +12,16 @@ If you are a new hand and want to experience DolphinScheduler functions, we reco
## Install DolphinScheduler ## Install DolphinScheduler
Please download the source code package `apache-dolphinscheduler-3.0.0-src.tar.gz`, download address: [download address](/en-us/download/download.html) Please download the source code package `apache-dolphinscheduler-3.0.1-src.tar.gz`, download address: [download address](/en-us/download/download.html)
To publish the release name `dolphinscheduler` version, please execute the following commands: To publish the release name `dolphinscheduler` version, please execute the following commands:
``` ```
$ tar -zxvf apache-dolphinscheduler-3.0.0-src.tar.gz $ tar -zxvf apache-dolphinscheduler-3.0.1-src.tar.gz
$ cd apache-dolphinscheduler-3.0.0-src/deploy/kubernetes/dolphinscheduler $ cd apache-dolphinscheduler-3.0.1-src/deploy/kubernetes/dolphinscheduler
$ helm repo add bitnami https://charts.bitnami.com/bitnami $ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm dependency update . $ helm dependency update .
$ helm install dolphinscheduler . --set image.tag=3.0.0 $ helm install dolphinscheduler . --set image.tag=3.0.1
``` ```
To publish the release name `dolphinscheduler` version to `test` namespace: To publish the release name `dolphinscheduler` version to `test` namespace:
@ -188,16 +188,16 @@ kubectl scale --replicas=6 sts dolphinscheduler-worker -n test # with test names
> >
> If you want to use MySQL, you can build a new image based on the `apache/dolphinscheduler-<service>` image follow the following instructions: > If you want to use MySQL, you can build a new image based on the `apache/dolphinscheduler-<service>` image follow the following instructions:
> >
> Since version 3.0.0, dolphinscheduler has been microserviced and the change of metadata storage requires replacing all services with MySQL driver, which including dolphinscheduler-tools, dolphinscheduler-master, dolphinscheduler-worker, dolphinscheduler-api, dolphinscheduler-alert-server > Since version 3.0.1, dolphinscheduler has been microserviced and the change of metadata storage requires replacing all services with MySQL driver, which including dolphinscheduler-tools, dolphinscheduler-master, dolphinscheduler-worker, dolphinscheduler-api, dolphinscheduler-alert-server
1. Download the MySQL driver [mysql-connector-java-8.0.16.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar). 1. Download the MySQL driver [mysql-connector-java-8.0.16.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar).
2. Create a new `Dockerfile` to add MySQL driver: 2. Create a new `Dockerfile` to add MySQL driver:
``` ```
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0 FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.1
# For example # For example
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-tools:3.0.0 # FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-tools:3.0.1
# Attention Please, If the build is dolphinscheduler-tools image # Attention Please, If the build is dolphinscheduler-tools image
# You need to change the following line to: COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/tools/libs # You need to change the following line to: COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/tools/libs
@ -246,9 +246,9 @@ externalDatabase:
2. Create a new `Dockerfile` to add MySQL or Oracle driver: 2. Create a new `Dockerfile` to add MySQL or Oracle driver:
``` ```
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0 FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.1
# For example # For example
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0 # FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.1
# If you want to support MySQL Datasource # If you want to support MySQL Datasource
COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/libs COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/libs
@ -278,7 +278,7 @@ docker build -t apache/dolphinscheduler-<service>:new-driver .
1. Create a new `Dockerfile` to install pip: 1. Create a new `Dockerfile` to install pip:
``` ```
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0 FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.1
COPY requirements.txt /tmp COPY requirements.txt /tmp
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends python-pip && \ apt-get install -y --no-install-recommends python-pip && \
@ -313,7 +313,7 @@ docker build -t apache/dolphinscheduler-worker:pip .
1. Create a new `Dockerfile` to install Python 3: 1. Create a new `Dockerfile` to install Python 3:
``` ```
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0 FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.1
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends python3 && \ apt-get install -y --no-install-recommends python3 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

8
docs/docs/en/guide/start/docker.md

@ -19,7 +19,7 @@ Start DolphinScheduler with standalone-server Docker images is the easiest way t
you can learn DolphinScheduler's concepts and usage, with minimal cost. you can learn DolphinScheduler's concepts and usage, with minimal cost.
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
$ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}" $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
``` ```
@ -49,7 +49,7 @@ After complete the configuration, we can get the `docker-compose.yaml` file from
form its source package, and make sure you get the right version. After download the package, you can run the commands as below. form its source package, and make sure you get the right version. After download the package, you can run the commands as below.
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
$ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz $ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz
# Going to docker-compose's location # Going to docker-compose's location
# For Mac or Linux users # For Mac or Linux users
@ -73,7 +73,7 @@ container when it up. You could start DolphinScheduler server separately if you
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
# Initialize the database, make sure database <DATABASE> already exists # Initialize the database, make sure database <DATABASE> already exists
$ docker run -d --name dolphinscheduler-tools \ $ docker run -d --name dolphinscheduler-tools \
-e DATABASE="postgresql" \ -e DATABASE="postgresql" \
@ -134,5 +134,5 @@ and use `admin` and `dolphinscheduler123` as default username and password in th
You can modify some environment variables to change configurations when you are starting servers through Docker. We have You can modify some environment variables to change configurations when you are starting servers through Docker. We have
an example in [using exists PostgreSQL ZooKeeper](#using-exists-postgresql-zookeeper) to change database and ZooKeeper configurations, an example in [using exists PostgreSQL ZooKeeper](#using-exists-postgresql-zookeeper) to change database and ZooKeeper configurations,
and you could find all environment variables in [all environment variables](https://github.com/apache/dolphinscheduler/blob/3.0.0/script/env/dolphinscheduler_env.sh) <!-- markdown-link-check-disable-line --> and you could find all environment variables in [all environment variables](https://github.com/apache/dolphinscheduler/blob/3.0.1/script/env/dolphinscheduler_env.sh) <!-- markdown-link-check-disable-line -->
and change them if you want. and change them if you want.

4
docs/docs/en/history-versions.md

@ -4,6 +4,10 @@
#### Setup instructions, are available for each stable version of Apache DolphinScheduler below: #### Setup instructions, are available for each stable version of Apache DolphinScheduler below:
### Versions: 3.0.1
#### Links: [3.0.1 Document](../3.0.1/user_doc/about/introduction.md)
### Versions: 3.0.0 ### Versions: 3.0.0
#### Links: [3.0.0 Document](../3.0.0/user_doc/about/introduction.md) #### Links: [3.0.0 Document](../3.0.0/user_doc/about/introduction.md)

2
docs/docs/zh/contribute/join/pull-request.md

@ -66,7 +66,7 @@ waste time。
当你向 DolphinScheduler 提交 pull request 的时候 code-style 是你不得不考虑的问题。我们在 CI 中使用 Checkstyle [参考](https://checkstyle.sourceforge.io/)来保持代码风格的统一,它是一种帮助开发者编写遵循编码规范的 Java 代码开发工具。如果你的 pull request 没有通过 Checkstyle 的检测,那它将不会被合并到主库中。你可以在提交 pull request 前使用 Checkstyle 来检测或者格式化你的代码。如下的步骤将引领你配置并激活 Checkstyle 当你向 DolphinScheduler 提交 pull request 的时候 code-style 是你不得不考虑的问题。我们在 CI 中使用 Checkstyle [参考](https://checkstyle.sourceforge.io/)来保持代码风格的统一,它是一种帮助开发者编写遵循编码规范的 Java 代码开发工具。如果你的 pull request 没有通过 Checkstyle 的检测,那它将不会被合并到主库中。你可以在提交 pull request 前使用 Checkstyle 来检测或者格式化你的代码。如下的步骤将引领你配置并激活 Checkstyle
1. 准备 Checkstyle 配置文件:你可以点击[这里](https://github.com/apache/dolphinscheduler/blob/3.0.0/style/checkstyle.xml)手动下载,但是我们更加推荐在 DolphinScheduler 代码库中找到它。当你将代码库克隆下来后,你可以在路径 `style/checkstyle.xml` 下找到配置文件 1. 准备 Checkstyle 配置文件:你可以点击[这里](https://github.com/apache/dolphinscheduler/blob/3.0.1/style/checkstyle.xml)手动下载,但是我们更加推荐在 DolphinScheduler 代码库中找到它。当你将代码库克隆下来后,你可以在路径 `style/checkstyle.xml` 下找到配置文件
2. 下载 Intellij IDEA Checkstyle 插件:通过关键字**CheckStyle-IDEA**或者通过[这个页面](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea)安装均可。如果你不清楚如何安装Intellij IDEA插件,可以参考[这个连接](https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_repo) 2. 下载 Intellij IDEA Checkstyle 插件:通过关键字**CheckStyle-IDEA**或者通过[这个页面](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea)安装均可。如果你不清楚如何安装Intellij IDEA插件,可以参考[这个连接](https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_repo)
3. 配置并激活 Checkstyles 以及 Intellij IDEA 代码风格:当完成上面几步后,你就可以配置并激活他们了。你可以在路径`Preferences -> Tool -> Checkstyle`中找到 Checkstyle,请参照下图完成其配置 3. 配置并激活 Checkstyles 以及 Intellij IDEA 代码风格:当完成上面几步后,你就可以配置并激活他们了。你可以在路径`Preferences -> Tool -> Checkstyle`中找到 Checkstyle,请参照下图完成其配置

4
docs/docs/zh/guide/expansion-reduction.md

@ -29,9 +29,9 @@
mkdir -p /opt mkdir -p /opt
cd /opt cd /opt
# 解压缩 # 解压缩
tar -zxvf apache-dolphinscheduler-3.0.0-bin.tar.gz -C /opt tar -zxvf apache-dolphinscheduler-3.0.1-bin.tar.gz -C /opt
cd /opt cd /opt
mv apache-dolphinscheduler-3.0.0-bin dolphinscheduler mv apache-dolphinscheduler-3.0.1-bin dolphinscheduler
``` ```
```markdown ```markdown

8
docs/docs/zh/guide/start/docker.md

@ -17,7 +17,7 @@
你可以最快速的体验到 DolphinScheduler 的大部分功能,了解主要和概念和内容。 你可以最快速的体验到 DolphinScheduler 的大部分功能,了解主要和概念和内容。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
$ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}" $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
``` ```
@ -43,7 +43,7 @@ $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:2
源码包对应的值为 "Total Source Code"。当下载完源码后就可以运行命令进行部署了。 源码包对应的值为 "Total Source Code"。当下载完源码后就可以运行命令进行部署了。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
$ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz $ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz
# Mac Linux 用户 # Mac Linux 用户
$ cd apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src/deploy/docker $ cd apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src/deploy/docker
@ -65,7 +65,7 @@ $ docker-compose --profile all up -d
ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 DolphinScheduler 容器。 ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 DolphinScheduler 容器。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.0.0 $ DOLPHINSCHEDULER_VERSION=3.0.1
# 初始化数据库,其确保数据库 <DATABASE> 已经存在 # 初始化数据库,其确保数据库 <DATABASE> 已经存在
$ docker run -d --name dolphinscheduler-tools \ $ docker run -d --name dolphinscheduler-tools \
-e DATABASE="postgresql" \ -e DATABASE="postgresql" \
@ -126,4 +126,4 @@ $ docker run -d --name dolphinscheduler-alert-server \
## 环境变量 ## 环境变量
可以通过环境变量来修改 Docker 运行的配置,我们在沿用已有的 PostgreSQL 和 ZooKeeper 服务中就通过环境变量修改了 Docker 的数据库配置和 可以通过环境变量来修改 Docker 运行的配置,我们在沿用已有的 PostgreSQL 和 ZooKeeper 服务中就通过环境变量修改了 Docker 的数据库配置和
注册中心配置,关于全部的配置环境可以查看[全部的配置文件](https://github.com/apache/dolphinscheduler/blob/3.0.0/script/env/dolphinscheduler_env.sh) 了解 <!-- markdown-link-check-disable-line --> 注册中心配置,关于全部的配置环境可以查看[全部的配置文件](https://github.com/apache/dolphinscheduler/blob/3.0.1/script/env/dolphinscheduler_env.sh) 了解 <!-- markdown-link-check-disable-line -->

4
docs/docs/zh/history-versions.md

@ -3,6 +3,10 @@
# 历史版本: # 历史版本:
#### 以下是Apache DolphinScheduler每个稳定版本的设置说明。 #### 以下是Apache DolphinScheduler每个稳定版本的设置说明。
### Versions: 3.0.1
#### Links: [3.0.1 文档](../3.0.1/user_doc/about/introduction.md)
### Versions: 3.0.0 ### Versions: 3.0.0
#### Links: [3.0.0 文档](../3.0.0/user_doc/about/introduction.md) #### Links: [3.0.0 文档](../3.0.0/user_doc/about/introduction.md)

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql

@ -978,7 +978,7 @@ CREATE TABLE t_ds_version
-- Records of t_ds_version -- Records of t_ds_version
-- ---------------------------- -- ----------------------------
INSERT INTO t_ds_version INSERT INTO t_ds_version
VALUES ('1', '3.0.0'); VALUES ('1', '3.0.1');
-- ---------------------------- -- ----------------------------

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

@ -967,7 +967,7 @@ CREATE TABLE `t_ds_version` (
-- ---------------------------- -- ----------------------------
-- Records of t_ds_version -- Records of t_ds_version
-- ---------------------------- -- ----------------------------
INSERT INTO `t_ds_version` VALUES ('1', '3.0.0'); INSERT INTO `t_ds_version` VALUES ('1', '3.0.1');
-- ---------------------------- -- ----------------------------

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql

@ -958,7 +958,7 @@ INSERT INTO t_ds_queue(queue_name, queue, create_time, update_time)
VALUES ('default', 'default', '2018-11-29 10:22:33', '2018-11-29 10:22:33'); VALUES ('default', 'default', '2018-11-29 10:22:33', '2018-11-29 10:22:33');
-- Records of t_ds_queue,default queue name : default -- Records of t_ds_queue,default queue name : default
INSERT INTO t_ds_version(version) VALUES ('3.0.0'); INSERT INTO t_ds_version(version) VALUES ('3.0.1');
-- --
-- Table structure for table t_ds_plugin_define -- Table structure for table t_ds_plugin_define

2
dolphinscheduler-dao/src/main/resources/sql/soft_version

@ -1 +1 @@
3.0.0 3.0.1

16
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/mysql/dolphinscheduler_ddl.sql

@ -0,0 +1,16 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

16
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/mysql/dolphinscheduler_dml.sql

@ -0,0 +1,16 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

16
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/postgresql/dolphinscheduler_ddl.sql

@ -0,0 +1,16 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

16
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.1_schema/postgresql/dolphinscheduler_dml.sql

@ -0,0 +1,16 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

2
dolphinscheduler-python/pydolphinscheduler/setup.py

@ -32,7 +32,7 @@ if sys.version_info[0] < 3:
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
version = "dev" version = "3.0.1"
# Start package required # Start package required
prod = [ prod = [

Loading…
Cancel
Save