Last active
August 22, 2023 14:05
-
-
Save Krymancer/6ec50f64e3d23f3db08a446d0ee8b0dd to your computer and use it in GitHub Desktop.
Gatling test rinha-backend-2023-q3
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
version: '3.5' | |
services: | |
clone: | |
image: alpine/git:latest | |
volumes: | |
- ./rinha-de-backend-2023-q3:/app | |
working_dir: /app | |
command: ["git", "clone", "https://github.com/zanfranceschi/rinha-de-backend-2023-q3.git", "."] | |
prepare: | |
image: python:3.9 | |
volumes: | |
- ./rinha-de-backend-2023-q3:/app | |
working_dir: /app/stress-test | |
command: ["python", "geracao_recursos.py"] | |
depends_on: | |
- clone | |
download-gatling: | |
image: alpine:latest | |
volumes: | |
- ./rinha-de-backend-2023-q3:/app | |
working_dir: /app | |
command: ["wget", "https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.5/gatling-charts-highcharts-bundle-3.9.5-bundle.zip"] | |
depends_on: | |
- prepare | |
unzip-gatling: | |
image: alpine:latest | |
volumes: | |
- ./rinha-de-backend-2023-q3:/app | |
working_dir: /app | |
command: ["unzip", "gatling-charts-highcharts-bundle-3.9.5-bundle.zip"] | |
depends_on: | |
- download-gatling | |
gatling: | |
image: openjdk:11 | |
volumes: | |
- ./rinha-de-backend-2023-q3:/app | |
working_dir: /app | |
entrypoint: ["./gatling-charts-highcharts-bundle-3.9.5/bin/gatling.sh", "-rm", "local", "-s", "RinhaBackendSimulation", "-rd", "DESCRICAO", "-rf", "/app/user-files/results", "-sf", "/app/user-files/simulations", "-rsf", "/app/user-files/resources"] | |
depends_on: | |
- unzip-gatling | |
results-page: | |
image: nginx:alpine | |
volumes: | |
- ./rinha-de-backend-2023-q3/stress-test/user-files/results:/usr/share/nginx/html | |
ports: | |
- "80:80" | |
depends_on: | |
- gatling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment