-
Some checks failed
Tests / CreateImage (push) Failing after 25s
Tests / Tests (push) Has been skipped

This commit is contained in:
pasha1coil 2025-07-31 15:36:45 +03:00
parent 7e81c89608
commit 52aa51636a
2 changed files with 4 additions and 2 deletions

@ -17,7 +17,7 @@ jobs:
Tests: Tests:
needs: needs:
- CreateImage - 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: with:
runner: hubstaging runner: hubstaging
actionid: ${{ gitea.run_id }} actionid: ${{ gitea.run_id }}

@ -2,6 +2,8 @@ FROM gitea.pena/penadevops/container-images/golang:main
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN go mod download 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 CMD go run ./cmd/main.go & sleep 30 && go test ./tests && kill %1