Skip to content

Commit c4fb0e0

Browse files
committed
update circle config
1 parent c03adb8 commit c4fb0e0

1 file changed

Lines changed: 13 additions & 47 deletions

File tree

.circleci/config.yml

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,10 @@ aliases:
1111

1212
environment: &environment
1313
environment:
14-
SPRING_BOOT_VERSION: 2.2.0.RELEASE
15-
SPRING_VERSION: 5.2.0.RELEASE
16-
SPRING_DATA_VERSION: 2.2.0.RELEASE
17-
MICROMETER_VERSION: 1.3.2
18-
RQUEUE_REACTIVE_ENABLED: "false"
19-
20-
environment_v0: &environment_v0
21-
environment:
22-
SPRING_BOOT_VERSION: 2.0.6.RELEASE
23-
SPRING_VERSION: 5.0.10.RELEASE
24-
SPRING_DATA_VERSION: 2.0.6.RELEASE
25-
MICROMETER_VERSION: 1.1.0
2614
RQUEUE_REACTIVE_ENABLED: "false"
2715

2816
reactive_environment: &reactive_environment
2917
environment:
30-
SPRING_BOOT_VERSION: 2.2.0.RELEASE
31-
SPRING_VERSION: 5.2.0.RELEASE
32-
SPRING_DATA_VERSION: 2.2.0.RELEASE
33-
MICROMETER_VERSION: 1.3.2
3418
RQUEUE_REACTIVE_ENABLED: "true"
3519

3620

@@ -104,34 +88,40 @@ aliases:
10488
executor: rqueue-executor
10589
<<: *environment
10690

107-
default_v0: &default_vo
108-
executor: rqueue-executor
109-
<<: *environment_v0
110-
11191
reactive: &reactive
11292
executor: rqueue-executor
11393
<<: *reactive_environment
11494

11595
executors:
11696
rqueue-executor:
11797
machine:
118-
image: ubuntu-2204:2022.10.2
119-
resource_class: large
98+
image: ubuntu-2204:current
99+
resource_class: xlarge
120100

121101
working_directory: ~/repo
122102

123103
environment:
124104
# Customize the JVM maximum heap limit
125-
JVM_OPTS: -Xmx6400m
105+
JVM_OPTS: -Xmx8g
126106
TERM: dumb
127107
ORG_GRADLE_PROJECT_mavenCentralUsername: xxx
128108
ORG_GRADLE_PROJECT_mavenCentralPassword: xxx
129109
USER_NAME: rqueue
130110
REDIS_RUNNING: "true"
131111

112+
java_21: &java_21
113+
run:
114+
name: Use Java 21
115+
command: |
116+
sudo apt-get update
117+
sudo apt-get install -y openjdk-21-jdk
118+
java -version
119+
javac -version
120+
132121
build_steps: &build_steps
133122
steps:
134123
- checkout
124+
- *java_21
135125
- restore_cache:
136126
keys:
137127
- v1-dependencies-{{ checksum "build.gradle" }}
@@ -205,26 +195,14 @@ jobs:
205195
<<: *default
206196
<<: *build_steps
207197

208-
build_v0:
209-
<<: *default_vo
210-
<<: *build_steps
211-
212198
unit_test:
213199
<<: *default
214200
<<: *unit_test_steps
215201

216-
unit_test_v0:
217-
<<: *default_vo
218-
<<: *unit_test_steps
219-
220202
producer_only_test:
221203
<<: *default
222204
<<: *producer_test_steps
223205

224-
producer_only_test_v0:
225-
<<: *default_vo
226-
<<: *producer_test_steps
227-
228206
integration_test:
229207
<<: *default
230208
<<: *integration_test_steps
@@ -233,26 +211,14 @@ jobs:
233211
<<: *reactive
234212
<<: *integration_test_steps
235213

236-
integration_test_v0:
237-
<<: *default_vo
238-
<<: *integration_test_steps
239-
240214
redis_custer_test:
241215
<<: *default
242216
<<: *redis_cluster_test_steps
243217

244-
redis_custer_test_v0:
245-
<<: *default_vo
246-
<<: *redis_cluster_test_steps
247-
248218
report_code_coverage:
249219
<<: *default
250220
<<: *report_code_coverage_steps
251221

252-
report_code_coverage_v0:
253-
<<: *default_vo
254-
<<: *report_code_coverage_steps
255-
256222
workflows:
257223
main:
258224
jobs:

0 commit comments

Comments
 (0)