@@ -108,7 +108,7 @@ jobs:
108
108
matrix :
109
109
version : ${{ fromJSON(needs.list-version.outputs.version-json) }}
110
110
steps :
111
- - uses : apache/rocketmq-test-tool@1a646589accad17070423eabf0f54925e52b0666
111
+ - uses : apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
112
112
name : Deploy rocketmq
113
113
with :
114
114
action : " deploy"
@@ -131,27 +131,102 @@ jobs:
131
131
image:
132
132
repository: ${{env.DOCKER_REPO}}
133
133
tag: ${{ matrix.version }}
134
- e2e-test :
134
+ test- e2e-grpc-java :
135
135
if : ${{ success() }}
136
- name : E2E Test
136
+ name : Test E2E grpc java
137
137
needs : [list-version, deploy]
138
138
runs-on : ubuntu-latest
139
139
timeout-minutes : 60
140
140
strategy :
141
141
matrix :
142
142
version : ${{ fromJSON(needs.list-version.outputs.version-json) }}
143
143
steps :
144
- - uses : apache/rocketmq-test-tool@1a646589accad17070423eabf0f54925e52b0666
144
+ - uses : apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
145
145
name : e2e test
146
146
with :
147
147
action : " test"
148
148
ask-config : " ${{ secrets.ASK_CONFIG_VIRGINA }}"
149
149
test-version : " ${{ matrix.version }}"
150
- test-code-git : " https://ghproxy.com/https://github.com/apache/rocketmq-e2e.git "
150
+ test-code-git : " https://ghproxy.com/https://github.com/apache/rocketmq-e2e"
151
151
test-code-branch : " master"
152
152
test-code-path : java/e2e
153
153
test-cmd : " mvn -B test"
154
- job-id : ${{ strategy.job-index }}
154
+ job-id : 0
155
+ - name : Publish Test Report
156
+ uses : mikepenz/action-junit-report@v3
157
+ if : always() # always run even if the previous step fails
158
+ with :
159
+ report_paths : ' **/test_report/TEST-*.xml'
160
+ annotate_only : true
161
+ include_passed : true
162
+ detailed_summary : true
163
+ - uses : actions/upload-artifact@v3
164
+ if : always()
165
+ name : Upload test log
166
+ with :
167
+ name : test-e2e-grpc-java-log.txt
168
+ path : testlog.txt
169
+
170
+ test-e2e-golang :
171
+ if : ${{ success() }}
172
+ name : Test E2E golang
173
+ needs : [list-version, deploy]
174
+ runs-on : ubuntu-latest
175
+ timeout-minutes : 60
176
+ strategy :
177
+ matrix :
178
+ version : ${{ fromJSON(needs.list-version.outputs.version-json) }}
179
+ steps :
180
+ - uses : apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
181
+ name : e2e test
182
+ with :
183
+ action : " test"
184
+ ask-config : " ${{ secrets.ASK_CONFIG_VIRGINA }}"
185
+ test-version : " ${{ matrix.version }}"
186
+ test-code-git : " https://ghproxy.com/https://github.com/apache/rocketmq-e2e"
187
+ test-code-branch : " master"
188
+ test-code-path : golang
189
+ test-cmd : |
190
+ cd ../common && mvn -Prelease -DskipTests clean package -U
191
+ cd ../rocketmq-admintools && source bin/env.sh
192
+ cd ../golang && go get -u github.com/apache/rocketmq-clients/golang && gotestsum --junitfile ./target/surefire-reports/TEST-report.xml ./mqgotest/... -timeout 2m -v
193
+ job-id : 0
194
+ - name : Publish Test Report
195
+ uses : mikepenz/action-junit-report@v3
196
+ if : always() # always run even if the previous step fails
197
+ with :
198
+ report_paths : ' **/test_report/TEST-*.xml'
199
+ annotate_only : true
200
+ include_passed : true
201
+ detailed_summary : true
202
+ - uses : actions/upload-artifact@v3
203
+ if : always()
204
+ name : Upload test log
205
+ with :
206
+ name : test-e2e-golang-log.txt
207
+ path : testlog.txt
208
+
209
+ test-e2e-remoting-java :
210
+ if : ${{ success() }}
211
+ name : Test E2E remoting java
212
+ needs : [ list-version, deploy ]
213
+ runs-on : ubuntu-latest
214
+ timeout-minutes : 60
215
+ strategy :
216
+ matrix :
217
+ version : ${{ fromJSON(needs.list-version.outputs.version-json) }}
218
+ steps :
219
+ - uses : apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
220
+ name : e2e test
221
+ with :
222
+ action : " test"
223
+ ask-config : " ${{ secrets.ASK_CONFIG_VIRGINA }}"
224
+ test-version : " ${{ matrix.version }}"
225
+ test-code-git : " https://ghproxy.com/https://github.com/apache/rocketmq-e2e"
226
+ test-code-branch : " master"
227
+ test-code-path : java/e2e-v4
228
+ test-cmd : " mvn -B test"
229
+ job-id : 0
155
230
- name : Publish Test Report
156
231
uses : mikepenz/action-junit-report@v3
157
232
if : always() # always run even if the previous step fails
@@ -164,23 +239,24 @@ jobs:
164
239
if : always()
165
240
name : Upload test log
166
241
with :
167
- name : testlog .txt
242
+ name : test-e2e-remoting-java-log .txt
168
243
path : testlog.txt
169
244
170
245
clean :
171
246
if : always()
172
247
name : Clean
173
- needs : [list-version, e2e-test]
248
+ needs : [list-version, test- e2e-grpc-java, test-e2e-golang, test-e2e-remoting-java ]
174
249
runs-on : ubuntu-latest
175
250
timeout-minutes : 60
176
251
strategy :
177
252
matrix :
178
253
version : ${{ fromJSON(needs.list-version.outputs.version-json) }}
179
254
steps :
180
- - uses : apache/rocketmq-test-tool@1a646589accad17070423eabf0f54925e52b0666
255
+ - uses : apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
181
256
name : clean
182
257
with :
183
258
action : " clean"
184
259
ask-config : " ${{ secrets.ASK_CONFIG_VIRGINA }}"
185
260
test-version : " ${{ matrix.version }}"
186
261
job-id : ${{ strategy.job-index }}
262
+
0 commit comments