Skip to content

Commit 7a51190

Browse files
committed
1
1 parent e2539c4 commit 7a51190

2 files changed

Lines changed: 11 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,22 @@ on:
88

99
jobs:
1010
build-and-test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212

1313
services:
1414
nacos:
15-
image: nacos/nacos-server:v2.3.2-slim
15+
image: nacos/nacos-server:v2.2.3
1616
env:
1717
MODE: standalone
18-
JVM_XMS: 512m
19-
JVM_XMX: 512m
2018
ports:
2119
- 8848:8848
2220
- 9848:9848
2321
options: >-
2422
--health-cmd="curl -f http://localhost:8848/nacos/v1/console/health/readiness"
2523
--health-interval=10s
2624
--health-timeout=5s
27-
--health-retries=15
28-
--health-start-period=60s
25+
--health-retries=12
26+
--health-start-period=40s
2927
3028
steps:
3129
- name: Checkout code
@@ -62,7 +60,7 @@ jobs:
6260
**/target/site/jacoco/
6361
6462
code-quality:
65-
runs-on: ubuntu-latest
63+
runs-on: ubuntu-20.04
6664

6765
steps:
6866
- name: Checkout code

.github/workflows/maven.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
unit-tests:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-20.04
1212
timeout-minutes: 20
1313

1414
steps:
@@ -36,7 +36,7 @@ jobs:
3636
**/target/surefire-reports/*.xml
3737
3838
go-client-check:
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-20.04
4040
timeout-minutes: 10
4141

4242
steps:
@@ -57,17 +57,15 @@ jobs:
5757
go build -o /tmp/go-rpc-client main.go
5858
5959
integration-test:
60-
runs-on: ubuntu-latest
60+
runs-on: ubuntu-20.04
6161
timeout-minutes: 30
6262
needs: [unit-tests, go-client-check]
6363

6464
services:
6565
nacos:
66-
image: nacos/nacos-server:v2.3.2-slim
66+
image: nacos/nacos-server:v2.2.3
6767
env:
6868
MODE: standalone
69-
JVM_XMS: 512m
70-
JVM_XMX: 512m
7169
ports:
7270
- 8848:8848
7371
- 9848:9848
@@ -76,8 +74,8 @@ jobs:
7674
--health-cmd "curl -f http://localhost:8848/nacos/v1/console/health/readiness"
7775
--health-interval 10s
7876
--health-timeout 5s
79-
--health-retries 15
80-
--health-start-period 60s
77+
--health-retries 12
78+
--health-start-period 40s
8179
steps:
8280
- uses: actions/checkout@v4
8381

0 commit comments

Comments
 (0)