From eec4d16d63b894eb25fc2e8d565d9e106429f9c5 Mon Sep 17 00:00:00 2001 From: Gustavo Bertoi Date: Fri, 17 May 2024 20:49:50 -0300 Subject: [PATCH] fix: fixing dockerfile and removing artillery script --- Dockerfile | 1 - Makefile | 3 +++ tests/artillery.sh | 5 ----- 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100755 tests/artillery.sh diff --git a/Dockerfile b/Dockerfile index 06535c1..4ad5dda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ RUN CGO_ENABLED=0 go build -o bin/realtime /app/cmd/api/main.go FROM gcr.io/distroless/base-debian11 as runnable COPY --from=build /app/bin/realtime / -COPY --from=build /app/web /web EXPOSE 8080 diff --git a/Makefile b/Makefile index 68a3e4f..ae15b1c 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,6 @@ build: run: @go build -o bin/realtime cmd/api/main.go @./bin/realtime + +artillery: + artillery run tests/artillery.yaml --output tests/artifacts.json diff --git a/tests/artillery.sh b/tests/artillery.sh deleted file mode 100755 index 31bb673..0000000 --- a/tests/artillery.sh +++ /dev/null @@ -1,5 +0,0 @@ -docker-compose up -d - -artillery run "artillery.yaml" --output tests/artifacts/report.json - -docker-compose down \ No newline at end of file