Skip to content
Snippets Groups Projects
Commit 2176d4d0 authored by Edouard DE BRYE's avatar Edouard DE BRYE
Browse files

modified gitlab-ci / added load tests

parent 2566bf96
No related branches found
No related tags found
No related merge requests found
......@@ -74,15 +74,15 @@ Load Tests:
name: peterevans/vegeta
entrypoint: [""]
script:
- echo "GET $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "PUT $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "PATCH $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "DELETE $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "GET $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "PUT $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "PATCH $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
- echo "DELETE $API_ENDPOINT/crud" | vegeta attack -duration=3s -rate=100/s | vegeta report
rules:
- if: '$CI_COMMIT_BRANCH =~ /^(master|production)$/'
when: manual
Production Plan:
Production Plan:
stage: Production Plan
script:
- cd deploy/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment