File tree 7 files changed +17
-5
lines changed
config/seata-config-nacos/src/test
java/org/apache/seata/config/nacos
7 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 16
16
ports :
17
17
- 6379:6379
18
18
options : --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
19
+ nacos :
20
+ image : nacos/nacos-server:v2.4.2
21
+ ports :
22
+ - 8848:8848
23
+ env :
24
+ MODE : standalone
25
+ SPRING_SECURITY_ENABLED : false
26
+ options : --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s
19
27
runs-on : ubuntu-latest
20
28
strategy :
21
29
fail-fast : false
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ Add changes here for all PR submitted to the 2.x branch.
87
87
- [[ #6808 ] ( https://github.com/apache/incubator-seata/pull/6808 )] change version to 2.2.0-SNAPSHOT
88
88
- [[ #6819 ] ( https://github.com/apache/incubator-seata/pull/6819 )] merge the packaging processes of namingserver and seata-server
89
89
- [[ #6827 ] ( https://github.com/apache/incubator-seata/pull/6827 )] rename namingserver registry type
90
+ - [[ #6836 ] ( https://github.com/apache/incubator-seata/pull/6836 )] add independent nacos for the CI process
90
91
91
92
92
93
### refactor:
@@ -137,5 +138,6 @@ Thanks to these contributors for their code commits. Please report an unintended
137
138
- [ xingfudeshi] ( https://github.com/xingfudeshi )
138
139
- [ xiaoxiangyeyu0] ( https://github.com/xiaoxiangyeyu0 )
139
140
- [ LegGasai] ( https://github.com/LegGasai )
141
+ - [ yangli-stu] ( https://github.com/yangli-stu )
140
142
141
143
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
Original file line number Diff line number Diff line change 87
87
- [[ #6808 ] ( https://github.com/apache/incubator-seata/pull/6808 )] 修改版本号为2.2.0-SNAPSHOT
88
88
- [[ #6819 ] ( https://github.com/apache/incubator-seata/pull/6819 )] namingserver与server的合并打包
89
89
- [[ #6827 ] ( https://github.com/apache/incubator-seata/pull/6827 )] 重命名namingserver注册类型改为seata
90
+ - [[ #6836 ] ( https://github.com/apache/incubator-seata/pull/6836 )] 为CI流程增加独立nacos
90
91
91
92
92
93
### refactor:
138
139
- [ xingfudeshi] ( https://github.com/xingfudeshi )
139
140
- [ xiaoxiangyeyu0] ( https://github.com/xiaoxiangyeyu0 )
140
141
- [ LegGasai] ( https://github.com/LegGasai )
142
+ - [ yangli-stu] ( https://github.com/yangli-stu )
141
143
142
144
同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
143
145
Original file line number Diff line number Diff line change 40
40
41
41
public class NacosMockTest {
42
42
private static ConfigService configService ;
43
- private static final String NACOS_ENDPOINT = "console.nacos.io:80 " ;
43
+ private static final String NACOS_ENDPOINT = "127.0.0.1:8848 " ;
44
44
45
45
private static final String NACOS_GROUP = "SEATA_GROUP" ;
46
46
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ registry {
21
21
22
22
nacos {
23
23
application = "seata-server"
24
- serverAddr = "console.nacos.io:80 "
24
+ serverAddr = "127.0.0.1:8848 "
25
25
group = "SEATA_GROUP"
26
26
namespace = ""
27
27
username = ""
@@ -77,7 +77,7 @@ config {
77
77
type = "nacos"
78
78
79
79
nacos {
80
- serverAddr = "console.nacos.io:80 "
80
+ serverAddr = "127.0.0.1:8848 "
81
81
namespace = ""
82
82
group = "SEATA_GROUP"
83
83
dataId = "seata-mock"
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ config {
89
89
dataId = "seata.properties"
90
90
}
91
91
test {
92
- serverAddr = "console.nacos.io:80 "
92
+ serverAddr = "127.0.0.1:8848 "
93
93
namespace = ""
94
94
group = "SEATA_GROUP"
95
95
dataId = ""
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ registry {
21
21
22
22
nacos {
23
23
application = "seata-server"
24
- serverAddr = "console.nacos.io:80 "
24
+ serverAddr = "127.0.0.1:8848 "
25
25
group = "SEATA_GROUP"
26
26
namespace = ""
27
27
username = ""
You can’t perform that action at this time.
0 commit comments