Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
b833ef04
Unverified
Commit
b833ef04
authored
Jul 18, 2024
by
Licho
Committed by
GitHub
Jul 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove scala12 profile in script (#3651)
Signed-off-by:
sunlichao11
<
sunlichao11@jd.com
>
Co-authored-by:
sunlichao11
<
sunlichao11@jd.com
>
parent
5ed1fc6c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
12 deletions
+13
-12
auto-realease-ci.yml
.github/workflows/auto-realease-ci.yml
+5
-5
backend.yaml
.github/workflows/backend.yaml
+1
-1
build-extr.sh
build-extr.sh
+1
-1
build.cmd
build.cmd
+2
-1
build.sh
build.sh
+1
-1
Dockerfile
deploy/docker/Dockerfile
+1
-1
compile_deploy.md
docs/docs/deploy_guide/compile_deploy.md
+1
-1
pull_request.md
docs/docs/developer_guide/contribution/pull_request.md
+1
-1
No files found.
.github/workflows/auto-realease-ci.yml
View file @
b833ef04
...
@@ -62,7 +62,7 @@ jobs:
...
@@ -62,7 +62,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-Pprod,
scala-2.12,
flink-single-version,flink-1.14,maven-central,web,fast \
-Pprod,flink-single-version,flink-1.14,maven-central,web,fast \
--no-snapshot-updates
--no-snapshot-updates
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.15
Pre
Release/Release
Artifact"
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.15
Pre
Release/Release
Artifact"
id
:
build_dinky1_15
id
:
build_dinky1_15
...
@@ -72,7 +72,7 @@ jobs:
...
@@ -72,7 +72,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-Pprod,
scala-2.12,
flink-single-version,flink-1.15,maven-central,web,fast \
-Pprod,flink-single-version,flink-1.15,maven-central,web,fast \
--no-snapshot-updates
--no-snapshot-updates
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.16
Pre
Release/Release
Artifact"
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.16
Pre
Release/Release
Artifact"
...
@@ -83,7 +83,7 @@ jobs:
...
@@ -83,7 +83,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-Pprod,
scala-2.12,
flink-single-version,flink-1.16,maven-central,web,fast \
-Pprod,flink-single-version,flink-1.16,maven-central,web,fast \
--no-snapshot-updates
--no-snapshot-updates
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.17
Pre
Release/Release
Artifact"
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.17
Pre
Release/Release
Artifact"
...
@@ -94,7 +94,7 @@ jobs:
...
@@ -94,7 +94,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-Pprod,
scala-2.12,
flink-single-version,flink-1.17,maven-central,web,fast \
-Pprod,flink-single-version,flink-1.17,maven-central,web,fast \
--no-snapshot-updates
--no-snapshot-updates
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.18
Pre
Release/Release
Artifact"
-
name
:
"
Build
Dinky
${{
inputs.version
}}
with
Fink
1.18
Pre
Release/Release
Artifact"
...
@@ -105,7 +105,7 @@ jobs:
...
@@ -105,7 +105,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-Pprod,
scala-2.12,
flink-single-version,flink-1.18,maven-central,web,fast \
-Pprod,flink-single-version,flink-1.18,maven-central,web,fast \
--no-snapshot-updates
--no-snapshot-updates
-
name
:
Automatic Upload Releases to GitHub Releases Page
-
name
:
Automatic Upload Releases to GitHub Releases Page
...
...
.github/workflows/backend.yaml
View file @
b833ef04
...
@@ -125,7 +125,7 @@ jobs:
...
@@ -125,7 +125,7 @@ jobs:
-Dspotless.check.skip=true \
-Dspotless.check.skip=true \
-Denforcer.skip=false \
-Denforcer.skip=false \
-Dmaven.javadoc.skip=true \
-Dmaven.javadoc.skip=true \
-P prod,
scala-2.12,
flink-single-version,flink-${{ matrix.flink }},maven-central \
-P prod,flink-single-version,flink-${{ matrix.flink }},maven-central \
--no-snapshot-updates
--no-snapshot-updates
# 检查打包的大小
# 检查打包的大小
...
...
build-extr.sh
View file @
b833ef04
...
@@ -56,7 +56,7 @@ while getopts "j:f:" opt; do
...
@@ -56,7 +56,7 @@ while getopts "j:f:" opt; do
done
done
# 构建命令
# 构建命令
CMD
=
"./mvnw clean package -Dmaven.test.skip=true -P prod,
${
JDK_VERSION
}
,flink-single-version,
scala-2.12,
aliyun,
${
FLINK_VERSION
}
,web"
CMD
=
"./mvnw clean package -Dmaven.test.skip=true -P prod,
${
JDK_VERSION
}
,flink-single-version,aliyun,
${
FLINK_VERSION
}
,web"
# 执行构建命令
# 执行构建命令
echo
"执行命令:
$CMD
"
echo
"执行命令:
$CMD
"
...
...
build.cmd
View file @
b833ef04
...
@@ -23,7 +23,7 @@ echo "Clean Project ..."
...
@@ -23,7 +23,7 @@ echo "Clean Project ..."
call ./mvnw.cmd clean -f pom.xml
call ./mvnw.cmd clean -f pom.xml
echo "Build Project ..."
echo "Build Project ..."
call ./mvnw.cmd package -f pom.xml -D"maven.test.skip=true" -P aliyun,prod,
scala-2.12,
web,flink-1.14
call ./mvnw.cmd package -f pom.xml -D"maven.test.skip=true" -P aliyun,prod,web,flink-1.14
:exit
:exit
pause
pause
\ No newline at end of file
build.sh
View file @
b833ef04
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
./mvnw clean package
-Dmaven
.test.skip
=
true
-P
aliyun,prod,
scala-2.12,
web,flink-1.14
./mvnw clean package
-Dmaven
.test.skip
=
true
-P
aliyun,prod,web,flink-1.14
deploy/docker/Dockerfile
View file @
b833ef04
...
@@ -25,7 +25,7 @@ ENV DINKY_VERSION=${DINKY_VERSION}
...
@@ -25,7 +25,7 @@ ENV DINKY_VERSION=${DINKY_VERSION}
ADD
. .
ADD
. .
COPY
--from=ui-build /build/dist/ /build/dinky-web/dist/
COPY
--from=ui-build /build/dist/ /build/dinky-web/dist/
RUN
mvn package
-Dmaven
.test.skip
=
true
-P
prod,
scala-2.12,
flink-single-version,flink-
${
FLINK_VERSION
}
,fast
RUN
mvn package
-Dmaven
.test.skip
=
true
-P
prod,flink-single-version,flink-
${
FLINK_VERSION
}
,fast
RUN
mkdir
release
&&
\
RUN
mkdir
release
&&
\
tar
-C
release
-xvf
build/dinky-release-
${
FLINK_VERSION
}
-
${
DINKY_VERSION
}
.tar.gz
&&
\
tar
-C
release
-xvf
build/dinky-release-
${
FLINK_VERSION
}
-
${
DINKY_VERSION
}
.tar.gz
&&
\
mv
release/dinky-release-
*
release/dinky
mv
release/dinky-release-
*
release/dinky
...
...
docs/docs/deploy_guide/compile_deploy.md
View file @
b833ef04
...
@@ -94,7 +94,7 @@ git clone https://github.com/DataLinkDC/dinky.git
...
@@ -94,7 +94,7 @@ git clone https://github.com/DataLinkDC/dinky.git
cd
/opt/dinky-source-code
cd
/opt/dinky-source-code
# 编译打包 Profile, 注意 scala 支持 2.11 和 2.12, 请根据实际情况进行选择,jdk 支持 8/11,请根据实际情况进行选择,不选jdk11默认使用系统内的jdk8
# 编译打包 Profile, 注意 scala 支持 2.11 和 2.12, 请根据实际情况进行选择,jdk 支持 8/11,请根据实际情况进行选择,不选jdk11默认使用系统内的jdk8
mvn clean package
-DskipTests
=
true
-P
prod,jdk11,flink-single-version,
scala-2.12,
aliyun,flink-1.16,web
mvn clean package
-DskipTests
=
true
-P
prod,jdk11,flink-single-version,aliyun,flink-1.16,web
```
```
...
...
docs/docs/developer_guide/contribution/pull_request.md
View file @
b833ef04
...
@@ -42,7 +42,7 @@ Pull Request 本质上是一种软件的合作方式,是将涉及不同功能
...
@@ -42,7 +42,7 @@ Pull Request 本质上是一种软件的合作方式,是将涉及不同功能
1.
在提交 pull request 前格式化你的代码:执行
`mvn spotless:apply -P flink-all`
自动格式化。格式化代码的最佳时间是将你的修改提交到本地 git 版本库之前
1.
在提交 pull request 前格式化你的代码:执行
`mvn spotless:apply -P flink-all`
自动格式化。格式化代码的最佳时间是将你的修改提交到本地 git 版本库之前
2.
在提交 pull request 前编译整个项目:在 IDEA 中的 Profiles 中选择 aliyun,flink-all,nexus,prod,
scala-2.12,
web,重载项目后执行
`mvn clean install -P aliyun,prod,scala-2.12,web,flink-all`
,编译成功后即可提交代码
2.
在提交 pull request 前编译整个项目:在 IDEA 中的 Profiles 中选择 aliyun,flink-all,nexus,prod,web,重载项目后执行
`mvn clean install -P aliyun,prod,scala-2.12,web,flink-all`
,编译成功后即可提交代码
### 相关问题
### 相关问题
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment