Compare commits

...

10 Commits

Author SHA1 Message Date
2b4bd176ab fix 2024-10-11 03:54:47 +03:00
c7303297d9 fix 2024-10-11 03:37:56 +03:00
e1c95fe3c4 fix 2024-10-10 23:55:01 +03:00
92f6bffa31 fix 2024-10-10 23:52:04 +03:00
49ffa0007b fix 2024-10-10 23:48:43 +03:00
582b4443ab fix 2024-10-10 23:41:48 +03:00
2b9bf26679 fix 2024-10-10 23:39:54 +03:00
e93e82375b fix 2024-10-10 23:36:35 +03:00
5ea93df262 runner 2024-10-10 23:31:31 +03:00
ff5b932cfc fix 2024-10-10 23:20:55 +03:00
4 changed files with 19 additions and 2 deletions

View File

@ -138,10 +138,15 @@ services:
order: start-first
gitea-runner:
image: gitea/act_runner:nightly-dind-rootless
image: mathwave/sprint-repo:gitea-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sprint-data:/sprint-data
environment:
GITEA_INSTANCE_URL: https://gitea.sprinthub.ru/
GITEA_RUNNER_REGISTRATION_TOKEN: $REGISTRATION_TOKEN_DEV
GITEA_RUNNER_NAME: dev
GITEA_RUNNER_LABELS: dev
deploy:
mode: replicated
placement:

View File

@ -170,10 +170,15 @@ services:
order: start-first
gitea-runner:
image: gitea/act_runner:nightly-dind-rootless
image: mathwave/sprint-repo:gitea-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sprint-data:/sprint-data
environment:
GITEA_INSTANCE_URL: https://gitea.sprinthub.ru/
GITEA_RUNNER_REGISTRATION_TOKEN: $REGISTRATION_TOKEN_PROD
GITEA_RUNNER_NAME: prod
GITEA_RUNNER_LABELS: prod
deploy:
mode: replicated
placement:

View File

@ -28,6 +28,8 @@ build:
- docker push mathwave/sprint-repo:sprint-infra-nginx-dev
- docker build -t mathwave/sprint-repo:sprint-infra-nginx-prod nginx/nginx-prod
- docker push mathwave/sprint-repo:sprint-infra-nginx-prod
- docker build -t mathwave/sprint-repo:gitea-runner gitea-runner
- docker push mathwave/sprint-repo:gitea-runner
deploy-dev:
stage: deploy-dev

5
gitea-runner/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM gitea/act_runner:nightly
RUN apk add docker
RUN apk add git
RUN apk add --no-cache nodejs