GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [ISSUE #8810] Fix independent execution of e2e and benchmark deployme… · lltopk/rocketmq@0c4064d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • push-ci.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/push-ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/push-ci.yml
+62-15Lines changed: 62 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,16 @@ jobs:
101101
printf '%s\n' "${a[@]}" | jq -R . | jq -s .
102102
echo version-json=`printf '%s\n' "${a[@]}" | jq -R . | jq -s .` >> $GITHUB_OUTPUT
103103
104-
deploy:
104+
deploy-e2e:
105105
if: ${{ success() }}
106-
name: Deploy RocketMQ
106+
name: Deploy RocketMQ For E2E
107107
needs: [list-version,docker]
108108
runs-on: ubuntu-latest
109109
timeout-minutes: 60
110110
strategy:
111111
matrix:
112112
version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
113-
test-type: [e2e, benchmark]
114113
steps:
115-
- run: echo "Running ${{ matrix.test-type }}... "
116114
- uses: apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
117115
name: Deploy rocketmq
118116
with:
@@ -137,10 +135,44 @@ jobs:
137135
repository: ${{env.DOCKER_REPO}}
138136
tag: ${{ matrix.version }}
139137
138+
deploy-benchmark:
139+
if: ${{ success() }}
140+
name: Deploy RocketMQ For Benchmarking
141+
needs: [list-version,docker]
142+
runs-on: ubuntu-latest
143+
timeout-minutes: 60
144+
strategy:
145+
matrix:
146+
version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
147+
steps:
148+
- uses: apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
149+
name: Deploy rocketmq
150+
with:
151+
action: "deploy"
152+
ask-config: "${{ secrets.ASK_CONFIG_VIRGINA }}"
153+
test-version: "${{ matrix.version }}"
154+
chart-git: "https://ghproxy.com/https://github.com/apache/rocketmq-docker.git"
155+
chart-branch: "master"
156+
chart-path: "./rocketmq-k8s-helm"
157+
job-id: "001-${{ strategy.job-index }}"
158+
helm-values: |
159+
nameserver:
160+
image:
161+
repository: ${{env.DOCKER_REPO}}
162+
tag: ${{ matrix.version }}
163+
broker:
164+
image:
165+
repository: ${{env.DOCKER_REPO}}
166+
tag: ${{ matrix.version }}
167+
proxy:
168+
image:
169+
repository: ${{env.DOCKER_REPO}}
170+
tag: ${{ matrix.version }}
171+
140172
test-e2e-grpc-java:
141173
if: ${{ success() }}
142174
name: Test E2E grpc java
143-
needs: [list-version, deploy]
175+
needs: [list-version, deploy-e2e]
144176
runs-on: ubuntu-latest
145177
timeout-minutes: 60
146178
strategy:
@@ -176,7 +208,7 @@ jobs:
176208
test-e2e-golang:
177209
if: ${{ success() }}
178210
name: Test E2E golang
179-
needs: [list-version, deploy]
211+
needs: [list-version, deploy-e2e]
180212
runs-on: ubuntu-latest
181213
timeout-minutes: 60
182214
strategy:
@@ -217,7 +249,7 @@ jobs:
217249
test-e2e-remoting-java:
218250
if: ${{ success() }}
219251
name: Test E2E remoting java
220-
needs: [ list-version, deploy ]
252+
needs: [ list-version, deploy-e2e ]
221253
runs-on: ubuntu-latest
222254
timeout-minutes: 60
223255
strategy:
@@ -254,22 +286,22 @@ jobs:
254286
if: ${{ success() }}
255287
runs-on: ubuntu-latest
256288
name: Performance benchmark test
257-
needs: [ list-version, deploy ]
289+
needs: [ list-version, deploy-benchmark ]
258290
timeout-minutes: 60
259291
steps:
260292
- uses: apache/rocketmq-test-tool/benchmark-runner@ce372e5f3906ca1891e4918b05be14608eae608e
261293
name: Performance benchmark
262294
with:
263295
action: "performance-benchmark"
264296
ask-config: "${{ secrets.ASK_CONFIG_VIRGINA }}"
265-
job-id: 1
297+
job-id: "001-${{ strategy.job-index }}"
266298
# The time to run the test, 15 minutes
267299
test-time: "900"
268300
# Some thresholds set in advance
269301
min-send-tps-threshold: "12000"
270302
max-rt-ms-threshold: "500"
271303
avg-rt-ms-threshold: "10"
272-
max-2c-rt-ms-threshold: "100"
304+
max-2c-rt-ms-threshold: "150"
273305
avg-2c-rt-ms-threshold: "10"
274306
- name: Upload test report
275307
if: always()
@@ -278,18 +310,16 @@ jobs:
278310
name: benchmark-report
279311
path: benchmark/
280312

281-
clean:
313+
clean-e2e:
282314
if: always()
283-
name: Clean
284-
needs: [list-version, test-e2e-grpc-java, test-e2e-golang, test-e2e-remoting-java, benchmark-test]
315+
name: Clean E2E
316+
needs: [ list-version, test-e2e-grpc-java, test-e2e-golang, test-e2e-remoting-java ]
285317
runs-on: ubuntu-latest
286318
timeout-minutes: 60
287319
strategy:
288320
matrix:
289321
version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
290-
test-type: [ e2e, benchmark ]
291322
steps:
292-
- run: echo "Cleaning ${{ matrix.test-type }}... "
293323
- uses: apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
294324
name: clean
295325
with:
@@ -298,3 +328,20 @@ jobs:
298328
test-version: "${{ matrix.version }}"
299329
job-id: ${{ strategy.job-index }}
300330

331+
clean-benchmark:
332+
if: always()
333+
name: Clean Benchmarking
334+
needs: [ list-version, benchmark-test ]
335+
runs-on: ubuntu-latest
336+
timeout-minutes: 60
337+
strategy:
338+
matrix:
339+
version: ${{ fromJSON(needs.list-version.outputs.version-json) }}
340+
steps:
341+
- uses: apache/rocketmq-test-tool@7d84d276ad7755b1dc5cf9657a7a9bff6ae6d288
342+
name: clean
343+
with:
344+
action: "clean"
345+
ask-config: "${{ secrets.ASK_CONFIG_VIRGINA }}"
346+
test-version: "${{ matrix.version }}"
347+
job-id: "001-${{ strategy.job-index }}"

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.