mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 13:48:12 +08:00
Dunitz/scale test update (#2159)
This commit is contained in:
@@ -15,15 +15,15 @@ jobs:
|
|||||||
python-version: 3.7
|
python-version: 3.7
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r backend/czi_hosted/test/locust/requirements-locust.txt
|
pip install -r backend/test/test_czi_hosted/locust/requirements-locust.txt
|
||||||
- name: Dev Scale Test
|
- name: Dev Scale Test
|
||||||
run: |
|
run: |
|
||||||
locust -f backend/czi_hosted/test/locust/locustfile.py --headless -u 30 -r 10 --host https://api.cellxgene.dev.single-cell.czi.technology/cellxgene/e/ --run-time 5m 2>&1 | tee locust_dev_stats.txt
|
locust -f backend/test/test_czi_hosted/locust/locustfile.py --headless -u 30 -r 10 --host https://api.cellxgene.dev.single-cell.czi.technology/cellxgene/e/ --run-time 5m 2>&1 | tee locust_dev_stats.txt
|
||||||
- name: Slack success webhook
|
- name: Slack success webhook
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
run: |
|
run: |
|
||||||
DEV_STATS=$(tail -n 61 locust_dev_stats.txt)
|
DEV_STATS=$(tail -n 15 locust_dev_stats.txt)
|
||||||
DEV_MSG="\`\`\`CELLXGENE EXPLORER DEV SCALE TEST RESULTS: ${DEV_STATS}\`\`\`"
|
DEV_MSG="\`\`\`CELLXGENE EXPLORER DEV SCALE TEST RESULTS: ${DEV_STATS}\`\`\`"
|
||||||
curl -X POST -H 'Content-type: application/json' --data "{'text':'${DEV_MSG}'}" $SLACK_WEBHOOK
|
curl -X POST -H 'Content-type: application/json' --data "{'text':'${DEV_MSG}'}" $SLACK_WEBHOOK
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
locust
|
locust
|
||||||
-r ../../requirements.txt
|
-r ../../../czi_hosted/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user