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

modified gitlab-ci / added load tests

parent 1c32d4b9
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,21 @@ Integration Tests:
rules:
- if: '$CI_COMMIT_BRANCH =~ /^(master|production)$/'
Production Plan:
Load Tests:
stage: Integration Test
image:
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
rules:
- if: '$CI_COMMIT_BRANCH =~ /^(master|production)$/'
when: manual
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