Generate crAPI load #17404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate crAPI load | |
on: | |
# pull_request: | |
# paths: | |
# - .github/workflows/generate_load.yml | |
schedule: | |
- cron: '0 */1 * * *' | |
workflow_dispatch: | |
jobs: | |
generate-crapi-load-prod: | |
name: Generate crAPI load for Prod | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run Load against prod Demo | |
uses: apardo04/locust-github-action@master | |
with: | |
LOCUSTFILE: "crAPI/services/loadgen/locustfile.py" | |
URL: "https://crapi-prod-catalog-tests.levoai.app" | |
USERS: "5" | |
RATE: "5" | |
RUNTIME: "3m" | |
generate-crapi-load-dev: | |
name: Generate crAPI load for Dev | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run Load against Dev e2e | |
uses: apardo04/locust-github-action@master | |
with: | |
LOCUSTFILE: "crAPI/services/loadgen/locustfile.py" | |
URL: "https://crapi-dev-spec-building.levoai.app" | |
USERS: "5" | |
RATE: "5" | |
RUNTIME: "3m" |