Skip to content

Commit

Permalink
[Build] Update snapshot version to 2.3.6 (#6773)
Browse files Browse the repository at this point in the history
Co-authored-by: gdliu3 <[email protected]>
  • Loading branch information
liugddx and gdliu3 authored May 24, 2024
1 parent c3ac953 commit ef66b49
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions bin/install-plugin.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ REM Get seatunnel home
set "SEATUNNEL_HOME=%~dp0..\"
echo Set SEATUNNEL_HOME to [%SEATUNNEL_HOME%]

REM Connector default version is 2.3.5, you can also choose a custom version. eg: 2.1.2: install-plugin.bat 2.1.2
set "version=2.3.5"
REM Connector default version is 2.3.6, you can also choose a custom version. eg: 2.1.2: install-plugin.bat 2.1.2
set "version=2.3.6"
if not "%~1"=="" set "version=%~1"

REM Create the lib directory
Expand Down
4 changes: 2 additions & 2 deletions bin/install-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# get seatunnel home
SEATUNNEL_HOME=$(cd $(dirname $0);cd ../;pwd)

# connector default version is 2.3.5, you can also choose a custom version. eg: 2.1.2: sh install-plugin.sh 2.1.2
version=2.3.5
# connector default version is 2.3.6, you can also choose a custom version. eg: 2.1.2: sh install-plugin.sh 2.1.2
version=2.3.6

if [ -n "$1" ]; then
version="$1"
Expand Down
36 changes: 18 additions & 18 deletions docs/en/start-v2/kubernetes/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To run the image with SeaTunnel, first create a `Dockerfile`:
```Dockerfile
FROM flink:1.13

ENV SEATUNNEL_VERSION="2.3.5"
ENV SEATUNNEL_VERSION="2.3.6"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -56,13 +56,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.5-flink-1.13 -f Dockerfile .
docker build -t seatunnel:2.3.6-flink-1.13 -f Dockerfile .
```
Image `seatunnel:2.3.5-flink-1.13` need to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.6-flink-1.13` need to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.5-flink-1.13
minikube image load seatunnel:2.3.6-flink-1.13
```

</TabItem>
Expand All @@ -72,7 +72,7 @@ minikube image load seatunnel:2.3.5-flink-1.13
```Dockerfile
FROM openjdk:8

ENV SEATUNNEL_VERSION="2.3.5"
ENV SEATUNNEL_VERSION="2.3.6"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -84,13 +84,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.5 -f Dockerfile .
docker build -t seatunnel:2.3.6 -f Dockerfile .
```
Image `seatunnel:2.3.5` need to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.6` need to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.5
minikube image load seatunnel:2.3.6
```

</TabItem>
Expand All @@ -100,7 +100,7 @@ minikube image load seatunnel:2.3.5
```Dockerfile
FROM openjdk:8

ENV SEATUNNEL_VERSION="2.3.5"
ENV SEATUNNEL_VERSION="2.3.6"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -112,13 +112,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.5 -f Dockerfile .
docker build -t seatunnel:2.3.6 -f Dockerfile .
```
Image `seatunnel:2.3.5` need to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.6` need to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.5
minikube image load seatunnel:2.3.6
```

</TabItem>
Expand Down Expand Up @@ -191,7 +191,7 @@ none
]}>
<TabItem value="flink">

In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.5-release/config/v2.streaming.conf.template):
In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.6-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -245,7 +245,7 @@ kind: FlinkDeployment
metadata:
name: seatunnel-flink-streaming-example
spec:
image: seatunnel:2.3.5-flink-1.13
image: seatunnel:2.3.6-flink-1.13
flinkVersion: v1_13
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
Expand Down Expand Up @@ -291,7 +291,7 @@ kubectl apply -f seatunnel-flink.yaml

<TabItem value="Zeta (local-mode)">

In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.5-release/config/v2.streaming.conf.template):
In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.6-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -334,7 +334,7 @@ metadata:
spec:
containers:
- name: seatunnel
image: seatunnel:2.3.5
image: seatunnel:2.3.6
command: ["/bin/sh","-c","/opt/seatunnel/bin/seatunnel.sh --config /data/seatunnel.streaming.conf -e local"]
resources:
limits:
Expand Down Expand Up @@ -366,7 +366,7 @@ kubectl apply -f seatunnel.yaml

<TabItem value="Zeta (cluster-mode)">

In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.5-release/config/v2.streaming.conf.template):
In this guide we are going to use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.6-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -524,7 +524,7 @@ spec:
spec:
containers:
- name: seatunnel
image: seatunnel:2.3.5
image: seatunnel:2.3.6
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5801
Expand Down
8 changes: 4 additions & 4 deletions docs/en/start-v2/locally/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package `seatunnel-<version>-bin.tar.gz`
Or you can download it by terminal

```shell
export version="2.3.5"
export version="2.3.6"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
```
Expand All @@ -34,13 +34,13 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
Since 2.2.0-beta, the binary package does not provide connector dependencies by default, so when using it for the first time, you need to execute the following command to install the connector: (Of course, you can also manually download the connector from [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) to download, then manually move to the `connectors/seatunnel` directory).

```bash
sh bin/install-plugin.sh 2.3.5
sh bin/install-plugin.sh 2.3.6
```

If you need to specify the version of the connector, take 2.3.5 as an example, you need to execute
If you need to specify the version of the connector, take 2.3.6 as an example, you need to execute

```bash
sh bin/install-plugin.sh 2.3.5
sh bin/install-plugin.sh 2.3.6
```

Usually you don't need all the connector plugins, so you can specify the plugins you need by configuring `config/plugin_config`, for example, you only need the `connector-console` plugin, then you can modify plugin.properties as
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/start-v2/locally/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem';
或者您也可以通过终端下载

```shell
export version="2.3.5"
export version="2.3.6"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
```
Expand All @@ -31,13 +31,13 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
从2.2.0-beta版本开始,二进制包不再默认提供连接器依赖,因此在第一次使用它时,您需要执行以下命令来安装连接器:(当然,您也可以从 [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) 手动下载连接器,然后将其移动至`connectors/seatunnel`目录下)。

```bash
sh bin/install-plugin.sh 2.3.5
sh bin/install-plugin.sh 2.3.6
```

如果您需要指定的连接器版本,以2.3.5为例,您需要执行如下命令
如果您需要指定的连接器版本,以2.3.6为例,您需要执行如下命令

```bash
sh bin/install-plugin.sh 2.3.5
sh bin/install-plugin.sh 2.3.6
```

通常您并不需要所有的连接器插件,所以您可以通过配置`config/plugin_config`来指定您所需要的插件,例如,您只需要`connector-console`插件,那么您可以修改plugin.properties配置文件如下
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<properties>
<!--todo The classification is too confusing, reclassify by type-->
<revision>2.3.5-SNAPSHOT</revision>
<revision>2.3.6-SNAPSHOT</revision>
<seatunnel.config.shade.version>2.1.1</seatunnel.config.shade.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
Expand Down
4 changes: 2 additions & 2 deletions tools/dependencies/known-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ protostuff-collectionschema-1.8.0.jar
protostuff-core-1.8.0.jar
protostuff-runtime-1.8.0.jar
scala-library-2.12.15.jar
seatunnel-jackson-2.3.5-SNAPSHOT-optional.jar
seatunnel-guava-2.3.5-SNAPSHOT-optional.jar
seatunnel-jackson-2.3.6-SNAPSHOT-optional.jar
seatunnel-guava-2.3.6-SNAPSHOT-optional.jar
slf4j-api-1.7.25.jar
jsqlparser-4.5.jar
animal-sniffer-annotations-1.17.jar
Expand Down

0 comments on commit ef66b49

Please sign in to comment.