-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize: publish images based on java 8
, 8-slim
, 17
, 17-slim
#5168
Conversation
setup-java
to 3.9.0
, and simplify the action script
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## develop #5168 +/- ##
=============================================
+ Coverage 48.69% 48.77% +0.07%
+ Complexity 4187 4176 -11
=============================================
Files 744 743 -1
Lines 26687 26626 -61
Branches 3332 3333 +1
=============================================
- Hits 12995 12986 -9
+ Misses 12295 12239 -56
- Partials 1397 1401 +4
|
# Conflicts: # .github/workflows/publishes.yml
setup-java
to 3.9.0
, and simplify the action scriptDocker Hub
based on java8
, java8-slim
, java17
, java17-slim
Docker Hub
based on java8
, java8-slim
, java17
, java17-slim
Docker Hub
based on java8
, java8-slim
, java17
, java17-slim
, and upgrade setup-java
to 3.9.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Docker Hub
based on java8
, java8-slim
, java17
, java17-slim
, and upgrade setup-java
to 3.9.0
Docker Hub
based on java 8
, 8-slim
, 17
, 17-slim
, and upgrade setup-java
to 3.9.0
# Conflicts: # .github/workflows/build.yml # .github/workflows/publishes.yml
<version>${junit-jupiter.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
避免项目下载低版本的junit5的依赖。
.github/workflows/build.yml
Outdated
bash -exc 'apt-get update -y && \ | ||
apt-get install maven -y && \ | ||
mvn -Prelease-seata -Dmaven.test.skip=true clean install -U' | ||
./mvnw -T 4C clean test-compile -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just compile src undersrc/test
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it contains src/main
.github/workflows/build.yml
Outdated
strategy: | ||
# job 1: Compile based on java11, and checkstyle. | ||
compile: | ||
name: "compile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the hierarchy is clearer and simpler without splitting(compile
and build
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, remove the compile
job.
Docker Hub
based on java 8
, 8-slim
, 17
, 17-slim
, and upgrade setup-java
to 3.9.0
8
, 8-slim
, 17
, 17-slim
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
optimize: Publish images to
Docker Hub
based on java8
,8-slim
,17
,17-slim
, and upgradesetup-java
to3.9.0
, and simplify the action script.java8
,java8-slim
,java17
,java17-slim
发布docker镜像到Docker Hub
上;setup-java
至3.9.0
,并简化发布脚本。另外,调整
build.yml
的脚本:compile
的job,编译java11,同时运行checkstyle
.build
的job,测试java8和17。参照我fork仓库里的action记录,执行成功了。
https://github.com/wangliang181230/seata/actions/runs/3779671964
我自己的测试仓库里,上传成功的镜像记录截图。
https://hub.docker.com/r/easyj/seata-server/tags