@@ -268,6 +268,7 @@ jobs:
268268 title : " Benchmark Cloud for ${{ matrix.dataset }} with ${{ matrix.size }} warehouse"
269269 summary : " status: **running**"
270270 - uses : ./.github/actions/benchmark_cloud
271+ continue-on-error : true
271272 id : benchmark
272273 with :
273274 sha : ${{ needs.metadata.outputs.sha }}
@@ -308,27 +309,11 @@ jobs:
308309 aws-region : us-east-2
309310 - uses : actions/download-artifact@v3
310311 with :
311- name : benchmark-hits-local
312+ name : benchmark-hits
312313 path : benchmark/clickbench/results/hits
313314 - uses : actions/download-artifact@v3
314315 with :
315- name : benchmark-hits-cloud-Medium
316- path : benchmark/clickbench/results/hits
317- - uses : actions/download-artifact@v3
318- with :
319- name : benchmark-hits-cloud-Large
320- path : benchmark/clickbench/results/hits
321- - uses : actions/download-artifact@v3
322- with :
323- name : benchmark-tpch-local
324- path : benchmark/clickbench/results/tpch
325- - uses : actions/download-artifact@v3
326- with :
327- name : benchmark-tpch-cloud-Medium
328- path : benchmark/clickbench/results/tpch
329- - uses : actions/download-artifact@v3
330- with :
331- name : benchmark-tpch-cloud-Large
316+ name : benchmark-tpch
332317 path : benchmark/clickbench/results/tpch
333318 - name : Get Report Prefix
334319 run : |
@@ -337,12 +322,8 @@ jobs:
337322 - name : Upload PR clickbench result to repo.databend.rs
338323 working-directory : benchmark/clickbench
339324 run : |
340- aws s3 cp ./results/hits/result-hits-local.json ${{ env.REPORT_S3_PREFIX }}/hits-local.json
341- aws s3 cp ./results/hits/result-hits-cloud-Medium.json ${{ env.REPORT_S3_PREFIX }}/hits-cloud-Medium.json
342- aws s3 cp ./results/hits/result-hits-cloud-Large.json ${{ env.REPORT_S3_PREFIX }}/hits-cloud-Large.json
343- aws s3 cp ./results/tpch/result-tpch-local.json ${{ env.REPORT_S3_PREFIX }}/tpch-local.json
344- aws s3 cp ./results/tpch/result-tpch-cloud-Medium.json ${{ env.REPORT_S3_PREFIX }}/tpch-cloud-Medium.json
345- aws s3 cp ./results/tpch/result-tpch-cloud-Large.json ${{ env.REPORT_S3_PREFIX }}/tpch-cloud-Large.json
325+ aws s3 sync ./results/hits/ ${{ env.REPORT_S3_PREFIX }}/ --include "*.json"
326+ aws s3 sync ./results/tpch/ ${{ env.REPORT_S3_PREFIX }}/ --include "*.json"
346327 - name : Get latest release clickbench result
347328 working-directory : benchmark/clickbench
348329 run : |
@@ -390,22 +371,17 @@ jobs:
390371 aws-region : us-east-2
391372 - uses : actions/download-artifact@v3
392373 with :
393- name : benchmark-${{ matrix.dataset }}-local
394- path : benchmark/clickbench/results/${{ matrix.dataset }}
395- - uses : actions/download-artifact@v3
396- with :
397- name : benchmark-${{ matrix.dataset }}-cloud-Medium
374+ name : benchmark-${{ matrix.dataset }}
398375 path : benchmark/clickbench/results/${{ matrix.dataset }}
399376 - name : Upload nightly results to repo.databend.rs
400- working-directory : benchmark/clickbench
377+ working-directory : benchmark/clickbench/
401378 run : |
402379 RESULT_PEFIX="${{ env.BENCHMARK_S3_PREFIX }}/release/${{ matrix.dataset }}/$(date -u +%Y)/$(date -u +%m)/$(date -u +%Y-%m-%d)/${{ needs.metadata.outputs.source_id }}"
403380 LATEST_PREFIX="${{ env.BENCHMARK_S3_PREFIX }}/release/${{ matrix.dataset }}/latest/latest"
404- aws s3 cp ./results/result-${{ matrix.dataset }}-local.json "${RESULT_PEFIX}-local.json"
405- aws s3 cp ./results/result-${{ matrix.dataset }}-cloud-Medium.json "${RESULT_PEFIX}-cloud-Medium.json"
406- aws s3 cp ./results/result-${{ matrix.dataset }}-local.json "${LATEST_PREFIX}-local.json"
407- aws s3 cp ./results/result-${{ matrix.dataset }}-cloud-Medium.json "${LATEST_PREFIX}-cloud-Medium.json"
408- rm -f ./results/result-*
381+ for file in ./results/${{ matrix.dataset }}/*.json; do
382+ aws s3 cp $file "${RESULT_PEFIX}-$(basename $file)"
383+ aws s3 cp $file "${LATEST_PREFIX}-$(basename $file)"
384+ done
409385 - name : Generate report
410386 working-directory : benchmark/clickbench
411387 run : |
0 commit comments