Skip to content
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

2.1.0 Code Change Statistics #6910

Closed
wants to merge 183 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
ded33d1
version: change version to 2.1.0-SNAPSHOT (#6066)
slievrly Nov 20, 2023
09097aa
security: upgrade com.google.guava:guava to 32.0.0-jre (#6069)
imcmai Nov 25, 2023
960c298
optimize: undo_log table check optimize (#6031)
laywin Nov 26, 2023
7894473
bugfix: fix missing table alias for on update column of image SQL (#6…
ptyin Nov 26, 2023
e32cb1c
optimize: the high CPU usage issue of the rpcMergeMessageSend thread …
PleaseGiveMeTheCoke Nov 27, 2023
3702ff8
bugfix: support jdk9+ compile code (#6085)
funky-eyes Nov 27, 2023
2122c6d
bugfix: fix oracle column alias cannot find (#6086)
slievrly Nov 27, 2023
9fef2db
optimize: rm appdata size limit (#4473)
Bughue Nov 28, 2023
03e88d5
optimize: modify the semantics of RaftServerFactory and remove unnece…
funky-eyes Nov 29, 2023
1921b2d
optimize: add secure authentication to interfaces in ClusterControlle…
ggbocoder Nov 29, 2023
30f88b6
optimize: add git infos to jars (#6071)
wangliang181230 Nov 29, 2023
fb6b20e
optimize:Optimizing the method of obtaining the tc address during raf…
ggbocoder Nov 30, 2023
b2ac653
optimize: optimize the retry logic in the acquireMetadata method (#6098)
ggbocoder Dec 1, 2023
f42fb72
bugfix: The TCC aspect does not handle internal invocation exceptions…
leezongjie Dec 1, 2023
986fc81
bugfix: fix could not rollback when insert the table with multiple ke…
l81893521 Dec 5, 2023
9e5abc2
optimize: using namespace from command line when deployment with helm…
baiyangtx Dec 6, 2023
471d413
test: unbind xid in TransactionTemplateTest (#6125)
laywin Dec 9, 2023
d1aa1ca
bugfix: the branch transaction order error when rolling back (#6121)
funky-eyes Dec 9, 2023
bdfed8d
optimize: remove lgtm.com badge (#6116)
xingfudeshi Dec 9, 2023
8984880
test: add `test-os.yml` for OS (#6081)
wangliang181230 Dec 9, 2023
5563492
security: upgrade jettison to 1.5.4 (#6145)
slievrly Dec 14, 2023
c0d0445
security: upgrade nacos client to 1.4.6 (#6144)
slievrly Dec 15, 2023
501d431
Revert "optimize: the high CPU usage issue of the rpcMergeMessageSend…
funky-eyes Dec 16, 2023
2f9957b
bugfix: in dubbo 3.x version, the consumer can't generate tcc proxy. …
laywin Dec 18, 2023
3df1704
security: upgrade kafka-clients to 3.5.2 (#6147)
slievrly Dec 20, 2023
3baeb49
optimize: update source header (#6176)
slievrly Dec 21, 2023
ab474eb
optimize: redis registry push empty protection optimize (#6164)
laywin Dec 21, 2023
97b9ad9
optimize: add ASF basic config (#6174)
slievrly Dec 21, 2023
de9596b
optimize: remove @author info (#6179)
slievrly Dec 21, 2023
baf2b4c
optimize: update contributing doc (#6181)
slievrly Dec 21, 2023
75a1285
optimize: update the header of License (#6178)
lightClouds917 Dec 21, 2023
a7f5f82
optimize: support Nacos ram role authentication (#6148)
slievrly Dec 21, 2023
f63b29d
optimize: update NOTICE file (#6184)
xingfudeshi Dec 21, 2023
6b010d4
bugfix: guava-32.0.0-jre.jar zip file is empty (#6182)
funky-eyes Dec 21, 2023
81fc703
optimize: update README.md(update mailing list and repository urls) (…
xingfudeshi Dec 21, 2023
f579e07
optimize: nettyPoolKey creation and update logic (#6166)
PleaseGiveMeTheCoke Dec 21, 2023
2ed693b
optimize: fix asf.yaml parse error (#6194)
slievrly Dec 22, 2023
9a58770
bugfix: asf config file format error (#6196)
AlbumenJ Dec 22, 2023
ce75e1f
optimize: cancel required_status_checks (#6200)
funky-eyes Dec 23, 2023
5690fc7
optimize: update the url in change log to apache/incubator-seata (#6195)
laywin Dec 23, 2023
ad62d3c
optimize: restore required_status_checks keep removing the context ch…
funky-eyes Dec 23, 2023
e590de5
optimize: remove the useless file (#6192)
lightClouds917 Dec 23, 2023
1a57f2d
optimize: console log optimize for "kubectl logs -f" (#6154)
PeppaO Dec 25, 2023
f3b27de
bugfix: fix the problem that The incorrect configuration needs to be …
dreamskyvision Dec 25, 2023
d2dbbff
optimize:remove Seata-Docker link (#6218)
xingfudeshi Dec 26, 2023
c1e611e
test: increase common module unit test coverage (#6157)
l81893521 Jan 2, 2024
6011c68
optimize: validate that the primary key is free of illegal characters…
ggbocoder Jan 2, 2024
2363715
optimize: RM TM startup connect server fail fast (#6004)
jsbxyyx Jan 4, 2024
26feac2
optimize: optimize links in the console header (#6243)
liuqiufeng Jan 5, 2024
607624c
optimize: update security policy, disclaimer and notice (#6239)
slievrly Jan 8, 2024
1679849
optimize: branch register resource only at RM server end (#5399)
sunrui1225 Jan 8, 2024
dc7d806
optimize: optimize asf.yml (#6247)
slievrly Jan 8, 2024
01e6f0c
optimize: get real-time configuration according to Environment under …
laywin Jan 8, 2024
2433b8f
optimize: optimize some files (#6238)
slievrly Jan 8, 2024
cd5d816
bugfix: JDBC resultSet, statement and connection closing order (#6248)
jsbxyyx Jan 8, 2024
77bfc08
optimize: increase seata-core module unit test coverage (#6250)
lightClouds917 Jan 11, 2024
17358bb
bugfix: gracefully shut down the server (#6143)
laywin Jan 11, 2024
ea9c54f
bugfix: raft-discovery cannot read registry configuration for seata-…
PeppaO Jan 12, 2024
2101a95
optimize: modify error message which is global session size more than…
laywin Jan 13, 2024
c746361
optimize: fix jib-maven-plugin build failed (#6264)
slievrly Jan 16, 2024
82b036f
bugfix: convert to utf8mb4 if mysql column is json type (#6232)
Bughue Jan 16, 2024
a59a39a
bugfix: AT mode support the URL of a PGSQL cluster (#6261)
funky-eyes Jan 16, 2024
3351fcf
optimize: build the frontend at the same time as the maven build (#6246)
liuqiufeng Jan 17, 2024
d577cfc
optimize: add Server deserialization validation (#6267)
slievrly Jan 18, 2024
b646e5b
optimize: optimization fails to build frontend on arm64 (#6265)
liuqiufeng Jan 18, 2024
daf642f
optimize: unifty the git information (#6271)
xingfudeshi Jan 18, 2024
4e27904
optimize: optimize the label's format in .asf.yaml (#6275)
xingfudeshi Jan 18, 2024
0ac8158
bugfix: fix ProtocolV1SerializerTest failed (#6278)
slievrly Jan 22, 2024
ec73332
optimize: optimize outdate npmjs dependencies in console (#6268)
slievrly Jan 22, 2024
698080b
optimize: add a compatible module to support io.seata APIs (#6283)
slievrly Jan 23, 2024
e9281f0
feature : mock server (#6205)
Bughue Jan 23, 2024
36e6e41
optimize: seata-server is developed in idea and console support outpu…
PeppaO Jan 23, 2024
e858228
refactor: implement new saga designer (#6280)
ptyin Jan 23, 2024
bed9b9e
optimize: change the groupId to org.apache.seata (#6290)
funky-eyes Jan 24, 2024
65ee819
optimize: fix problem of `maven-pmd-plugin` (#6297)
wangliang181230 Jan 24, 2024
80482ee
optimize: repackage name to org.apache.seata (#6298)
slievrly Jan 25, 2024
fa76fd1
optimize: split the frontend resource build process into separate pro…
liuqiufeng Jan 25, 2024
5412202
optimize: disable Publish OSSRH workflow (#6304)
slievrly Jan 25, 2024
256f0b4
optimize: upgrade console frontend dependencies and supported nodejs …
liuqiufeng Jan 26, 2024
7227cc1
optimize: replace some URL to org/apache/seata (#6306)
slievrly Jan 26, 2024
16689ad
optimize: console display the version number (#6313)
liuqiufeng Jan 29, 2024
74785d2
optimize: add saga io.seata compatible api (#6312)
ptyin Jan 30, 2024
5a84c42
optimize: server compatible io.seata package (#6310)
funky-eyes Jan 30, 2024
ee6f660
optimize: optimize time query conditions in the console (#6285)
xingfudeshi Jan 30, 2024
736f2b9
optimize: optimize Hessian Serialize (#6254)
slievrly Feb 5, 2024
843d2a4
optimize: add saga compatible subcomponent-level api (#6329)
ptyin Feb 5, 2024
c3da4d8
optimize: remove mariadb API (#6330)
slievrly Feb 5, 2024
8e5de24
bugfix: Parse protocol file failed (#6324)
SABERYJS Feb 5, 2024
486f582
optimize: compatible with tm module and rm-datasource module (#6343)
xingfudeshi Feb 13, 2024
84c9f35
optimize: compatible with integration.grpc API (#6328)
slievrly Feb 15, 2024
3e36de2
optimize: upgrade and tidy some depenencies (#6340)
slievrly Feb 15, 2024
4006df1
optimize: compatible with integration.http and integration.http.Jakar…
slievrly Feb 15, 2024
65610d0
optimize: compatible with integration-tx-api module and spring module…
xingfudeshi Feb 16, 2024
f80a0fa
optimize: remove mysql dependency from the distribution package (#6332)
slievrly Feb 17, 2024
5667d63
optimize: compatible with lower versions of SPI (#6315)
xingfudeshi Feb 19, 2024
d4cbdf4
optimize: transfer dockerhub repo (#6349)
slievrly Feb 19, 2024
e5fab2d
optimize: remove enableDegrade properties (#6350)
slievrly Feb 19, 2024
10bcd0f
security: upgrade spring mvc and tomcat.embed (#6339)
slievrly Feb 19, 2024
329384f
bugfix: fix dynamic degradation does not work properly (#6354)
slievrly Feb 20, 2024
b852a6c
optimize: remove authentication from the health check page (#6356)
slievrly Feb 20, 2024
b557a47
optimize: optimize 401 issues for some links (#6360)
liuqiufeng Feb 20, 2024
c08345e
security: upgrade Spring related dependencies (#6362)
slievrly Feb 20, 2024
ed41072
refactor: standardize Seata Exception (#6269)
slievrly Feb 21, 2024
ccf87d1
optimize: optimize arm64 ci (#6369)
liuqiufeng Feb 22, 2024
a866c2d
bugfix: fix known problems of docker image (#6363)
xingfudeshi Feb 22, 2024
315fd75
bugfix: fix postgresql sql script index name conflicts (#6372)
gao1143632516 Feb 23, 2024
3c98058
security: override nested dependencies to fix vulnerabilities (#6375)
ptyin Feb 24, 2024
87b6e5f
bugfix: fix sql exception when checking for the existence of the UNDO…
gggyd123 Feb 28, 2024
1939a9f
bugfix: TwoPhaseBusinessAction coexist with GlobalTransactional (#6331)
leezongjie Feb 28, 2024
709bd30
feature: saga-remove spring (#6370)
wt-better Feb 29, 2024
575ac12
optimize: compatible with tcc (#6345)
xingfudeshi Mar 1, 2024
be1157d
optimize: replace `byte-buddy` to JDK proxy in `ConfigurationCache` (…
wangliang181230 Mar 2, 2024
ec3a496
test : fix mockserverTest fail cause using same port with seata-serve…
Bughue Mar 2, 2024
e83d49b
optimize: add io.seata package shade (#6302)
slievrly Mar 2, 2024
7ce96e4
feature : RocketMQ transaction are supported (#6230)
Bughue Mar 3, 2024
13a5ada
optimize: optimized globaltransaction compatibility issues (#6366)
funky-eyes Mar 4, 2024
80eb68c
feature: support node metadata sync (#6326)
funky-eyes Mar 5, 2024
b4ea963
bugfix: fix the bug where Role.participant does not execute hooks but…
jonasHanhan Mar 5, 2024
1076e2b
optimize: Prohibit registration of TCC resources with the same name (…
PleaseGiveMeTheCoke Mar 5, 2024
d47a5d5
optimize: determine the version before sync metadata and add retry m…
funky-eyes Mar 8, 2024
4027ff8
optimize: tcc compatible (#6387)
wt-better Mar 8, 2024
f93a721
optimize: rm-datasource compatible (#6402)
funky-eyes Mar 11, 2024
f7fb1f8
optimize: optimize integration-tx-api compatible (#6419)
funky-eyes Mar 13, 2024
a0b2d9b
feature: support autolayout in seata-statemachine-designer (#6415)
Code-breaker1998 Mar 16, 2024
73708fd
optimize: optimize discovery compatible module (#6411)
slievrly Mar 16, 2024
2682c00
optimize: fix kotlin compile failure (#6405)
slievrly Mar 18, 2024
9e78cdd
test: enhance test coverage of seata common (#6430)
MikhailNavitski Mar 20, 2024
33d688b
optimize: remove repetitive words (#6429)
sunxunle Mar 25, 2024
fa595e4
optimize: optimize core compatible module (#6412)
slievrly Mar 26, 2024
d318409
refactor: optimize Configuration Cache (#6420)
slievrly Mar 28, 2024
a24a43e
bugfix: fix saga mode replay context lost start in 2.x (#6465)
xjlgod Apr 6, 2024
77bcaa2
optimize: clarify if conditions (#6442)
YeonCheolGit Apr 8, 2024
6ec289d
bugfix: sqlserver lock_table missing status placeholder (#6469)
deung Apr 8, 2024
d3ed690
test: adjust the test cases related to dynamic configuration (#6456)
funky-eyes Apr 8, 2024
e72babb
optimize: Compatible with the SPI 、saga、spring module (#6427)
wt-better Apr 11, 2024
bd7ad85
test: support Redis integration testing (#6466)
funky-eyes Apr 17, 2024
1ee8313
test: fix FileConfigurationTest and MockServerTest fail (#6484)
funky-eyes Apr 22, 2024
314b609
optimize: seata plugin jackson parser package name (#6487)
jsbxyyx Apr 22, 2024
aa74ef0
optimize: add null value check for MAC address (#6458)
bageyang Apr 23, 2024
5467933
fix(6495): [seata.tcc] should not be null (#6497)
xjlgod Apr 24, 2024
c55ff6d
bugfix: fix XA rollback on commit failure (#6492) (#6496)
tanyaofei Apr 24, 2024
e5639b4
optimize: optimize serialization/deserialization of protocol codec (#…
slievrly Apr 24, 2024
8c3224f
bugfix: fix SQLServer-related SQL error when using database of SQLSer…
TakeActionNow2019 Apr 26, 2024
4f16097
optimize: optimize config compatible module (#6403)
slievrly Apr 30, 2024
37e7746
optimize: optimize code format (#6516)
slievrly May 1, 2024
2f19941
optimize: optimize ConfigurationCache proxy method (#6518)
slievrly May 6, 2024
e046658
optimize: optimize release maven plugin (#6529)
slievrly May 11, 2024
a30b1d0
optimize: add subcomponents license (#6539)
slievrly May 13, 2024
8b58f85
optimize: exclude com.google.guava:listenablefuture (#6540)
slievrly May 14, 2024
2943e09
test: fix TestConfigCustomSPI compatibility test fail (#6545)
slievrly May 14, 2024
424c826
optimize: upgrade the byte-buddy version to 1.14.15 (#6548)
funky-eyes May 15, 2024
ec47baa
optimize: macos workflow support arm testing (#6549)
funky-eyes May 16, 2024
5c209a3
bugfix: fix saga "cannot matching status" (#6553)
ptyin May 16, 2024
30ca366
bugfix: unfixed serializer (#6554)
funky-eyes May 16, 2024
c3e9454
bugfix: fix businessActionContext not compatible with io.seata (#6555)
funky-eyes May 16, 2024
e497609
optimize: remove mysql-connector-java from pom.xml (#6558)
slievrly May 18, 2024
3445656
test : fix mock-server test, do not shutdown in Runtime.getRuntime().…
Bughue May 20, 2024
682b830
test: fix testCompensationStateMachine fail (#6565)
funky-eyes May 21, 2024
933b492
optimize: add notice file to binary (#6570)
slievrly May 23, 2024
c756746
infra: prepare delete tag v2.1.0 (#6571)
slievrly May 23, 2024
02d3a08
bugfix: io.seata ActionInterceptorHandler use org.apache.seata Busine…
funky-eyes May 24, 2024
cd1a61d
optimize: remove oracle datatype parser (#6576)
slievrly May 24, 2024
2d9e1b9
optimize: registry.conf supplemented raft configuration (#6578)
funky-eyes May 24, 2024
544dbad
optimize: optimize the default compilation to be independent of the G…
slievrly May 27, 2024
8bd23f3
optimize: optimize compatible module pom.xml (#6585)
slievrly May 28, 2024
e2361c9
optimize: remove binary from source code (#6597)
slievrly Jun 4, 2024
87dba01
optimize: revised the license and notice (#6605)
slievrly Jun 10, 2024
d11869e
optimize: revise the notice file (#6609)
slievrly Jun 13, 2024
0e4061f
optimize: revise the notice file (#6610)
slievrly Jun 13, 2024
38e9cea
optimize: add release notes and change version to 2.1.0 (#6613)
slievrly Jun 15, 2024
fa7c50a
optimize: add license header (#6649)
xingfudeshi Jul 7, 2024
c16e8a2
optimize: add license header for proto file (#6670)
slievrly Jul 13, 2024
40b793a
optimize: optimize multiple licenses and remove license urls (#6671)
slievrly Jul 13, 2024
90164d2
optimize: update front-end license (#6672)
slievrly Jul 13, 2024
ea81012
optimize: add license header for spring config file (#6673)
slievrly Jul 13, 2024
00fdb54
optimize: update source license (#6674)
slievrly Jul 13, 2024
f8dfd1f
bugfix: fix Alibaba Dubbo convert error (#6675)
slievrly Jul 13, 2024
acb1ded
bugfix: fix hsf ConsumerModel convert error (#6676)
slievrly Jul 13, 2024
2594aab
optimize: add license header for SPI file (#6677)
slievrly Jul 13, 2024
0f09553
optimize: delete static code built on the frontend (#6688)
liuqiufeng Jul 20, 2024
17fb85f
optimize: add release notes (#6691)
slievrly Jul 23, 2024
67644e9
optimize: fix node-gyp build error on arm64 and macos (#6692)
slievrly Jul 24, 2024
c2c6ad4
optimize: fix javadoc version incompatibility issue (#6704)
slievrly Jul 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
60 changes: 60 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# 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.
#
github:
description: ":fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution."
homepage: https://seata.apache.org/
labels:
- distributed-transaction
- consistency
- microservice
- at
- tcc
- saga
- xa
enabled_merge_buttons:
squash: true
merge: false
rebase: false
dependabot_alerts: true
dependabot_updates: false
protected_branches:
master:
required_status_checks:
strict: true
required_pull_request_reviews:
dismiss_stale_reviews: false
required_approving_review_count: 1
develop:
required_status_checks:
strict: true
required_pull_request_reviews:
dismiss_stale_reviews: false
required_approving_review_count: 1
2.x:
required_status_checks:
strict: true
required_pull_request_reviews:
dismiss_stale_reviews: false
required_approving_review_count: 1
protected_tags:
- "v0.*.*"
- "v1.*.*"
notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
discussions: [email protected]
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 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.
#

*.js linguist-language=java
*.css linguist-language=java
*.html linguist-language=java
37 changes: 27 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
# job 1: Test based on java 8 and 17. Do not checkstyle.
build:
name: "build"
services:
redis:
image: redis:7.2
ports:
- 6379:6379
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -28,20 +34,25 @@ jobs:
# step 3
- name: "Print maven version"
run: ./mvnw -version
# step 4
- name: "Build with Maven"
# step 4.1
- name: "Test, Check style, Check PMD, Check license with Maven and Java8"
if: matrix.java == '8'
run: |
./mvnw -T 4C clean test \
-Dcheckstyle.skip=false -Dpmd.skip=false -Dlicense.skip=false -DredisCaseEnabled=true \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
# step 4.2
- name: "Test with Maven and Java${{ matrix.java }}"
if: matrix.java != '8'
run: |
if [ "${{ matrix.java }}" == "8" ]; then
./mvnw -T 4C clean test -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
elif [ "${{ matrix.java }}" == "17" ]; then
./mvnw -T 4C clean test -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
fi
./mvnw -T 4C clean test \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
# step 5
- name: "Codecov"
if: matrix.java == '8'
uses: codecov/[email protected]

# job 2: Test on 'arm64v8/ubuntu' OS.
# job 2: Build on 'arm64v8/ubuntu' OS (Skip tests).
build_arm64-binary:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.ref_name == 'develop' || github.ref_name == 'snapshot' || github.ref_name == '2.x') }}
Expand All @@ -56,11 +67,17 @@ jobs:
id: qemu
uses: docker/setup-qemu-action@v3
# step 3
- name: "Build arm-binary"
- name: "Build with Maven on 'arm64v8/ubuntu:20.04' OS (Skip tests)"
run: |
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
arm64v8/ubuntu:20.04 \
bash -exc 'apt-get update -y && \
apt-get install python2 -y && \
python2 --version && \
apt-get install make gcc g++ -y && \
apt-get install maven -y && \
mvn -version && \
mvn -Prelease-seata -DskipTests clean install -U'
mvn clean install \
-Prelease-seata \
-DskipTests \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
8 changes: 4 additions & 4 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: "Publish images to DockerHub based on java8"
if: matrix.java == 8
env:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USER }}
REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
if [ "${{ github.ref_name }}" == "develop" ] || [ "${{ github.ref_name }}" == "snapshot" || [ "${{ github.ref_name }}" == "2.x" ]; then
./mvnw -T 4C clean package -Dimage.name=openjdk:8u342 -Pimage -DskipTests -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
Expand All @@ -48,8 +48,8 @@ jobs:
- name: "Publish images to DockerHub based on java17"
if: ${{ matrix.java == 17 && github.ref_name != 'develop' && github.ref_name != 'snapshot' && github.ref_name != '2.x' }}
env:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USER }}
REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
./mvnw -T 4C clean package -Dimage.name=openjdk:17.0.2 -Pimage,release-image-based-on-java17 -DskipTests -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
./mvnw -T 4C clean package -Dimage.name=openjdk:17.0.2-slim -Pimage,release-image-based-on-java17-slim -DskipTests -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
6 changes: 3 additions & 3 deletions .github/workflows/publish-ossrh.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Publish OSSRH"

on:
push:
branches: [ develop, 2.x, snapshot, "*.*.*" ]
on: false
# push:
# branches: [ develop, 2.x, snapshot, "*.*.*" ]

jobs:
# job 1
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/test-druid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
druid: [
1.2.20,
1.2.19,
#1.2.18, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf
#1.2.17, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf
Expand Down Expand Up @@ -50,15 +50,13 @@ jobs:
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
java-version: 8
# step 3
- name: "Print maven version"
run: ./mvnw -version
# step 4
- name: "Test with Maven"
- name: "Test with Maven and Druid ${{ matrix.druid }}"
run: |
if [ "${{ matrix.java }}" == "8" ]; then
./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
else
./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
fi
./mvnw -T 4C clean test \
-Ddruid.version=${{ matrix.druid }} \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
Loading
Loading