From 52aa51636ae0ee242ec83992a65937cc18d6a6af Mon Sep 17 00:00:00 2001 From: pasha1coil Date: Thu, 31 Jul 2025 15:36:45 +0300 Subject: [PATCH] - --- .gitea/workflows/deployTests.yml | 2 +- testsDockerfile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deployTests.yml b/.gitea/workflows/deployTests.yml index 3cdc468..40af10b 100644 --- a/.gitea/workflows/deployTests.yml +++ b/.gitea/workflows/deployTests.yml @@ -17,7 +17,7 @@ jobs: Tests: needs: - CreateImage - uses: http://gitea.pena/PenaDevops/actions/.gitea/workflows/tests.yml@renew_tests4 + uses: http://gitea.pena/PenaDevops/actions/.gitea/workflows/tests.yml@renew_tests5 with: runner: hubstaging actionid: ${{ gitea.run_id }} \ No newline at end of file diff --git a/testsDockerfile b/testsDockerfile index a79e1b1..5cc9f1a 100644 --- a/testsDockerfile +++ b/testsDockerfile @@ -2,6 +2,8 @@ FROM gitea.pena/penadevops/container-images/golang:main WORKDIR /app COPY . . RUN go mod download -RUN apk add tzdata curl + +RUN apk add --no-cache tzdata curl catatonit +ENTRYPOINT ["/sbin/catatonit", "--"] CMD go run ./cmd/main.go & sleep 30 && go test ./tests && kill %1