|
@@ -230,10 +230,17 @@ jobs:
|
|
|
emqx_address=$(kubectl get svc --namespace default emqx -o jsonpath="{.spec.clusterIP}")
|
|
|
kuiper_address=$(kubectl get svc --namespace default kuiper -o jsonpath="{.spec.clusterIP}")
|
|
|
/opt/jmeter/bin/jmeter.sh -Jjmeter.save.saveservice.output_format=xml -n -t fvt_scripts/select_aggr_rule.jmx -Dsrv=${kuiper_address} -Dmqtt_srv=${emqx_address} -l jmeter_logs/select_aggr_rule.jtl -j jmeter_logs/select_aggr_rule.log
|
|
|
+ mkdir -p kuiper_logs
|
|
|
+ kubectl exec kuiper-0 -- cat /kuiper/log/stream.log > kuiper_logs/stream.log
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
if: always()
|
|
|
with:
|
|
|
- name: jmeter_logs_without_helm
|
|
|
+ name: kuiper_logs_with_helm
|
|
|
+ path: ./kuiper_logs
|
|
|
+ - uses: actions/upload-artifact@v1
|
|
|
+ if: always()
|
|
|
+ with:
|
|
|
+ name: jmeter_logs_with_helm
|
|
|
path: ./jmeter_logs
|
|
|
- name: check logs
|
|
|
run: |
|