Splitting to two services #39
Workflow file for this run
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: load | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
load-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Data Manager | |
run: | | |
make build loadtest-setup | |
- name: Wait for the Service to be ready | |
run: | | |
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8080/ready)" != "200" ]]; do sleep 5; done | |
- name: Run Stress Tests | |
uses: grafana/[email protected] | |
with: | |
filename: tests/k6/script.js | |
flags: --config tests/k6/stress.json |