-
This commit is contained in:
parent
7e81c89608
commit
52aa51636a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user