This commit is contained in:
Administrator
2022-11-07 08:25:05 +03:00
parent 7a14bf83c6
commit 323dfd59aa
5 changed files with 34 additions and 36 deletions

View File

@@ -9,9 +9,7 @@ stages:
- docker network create -d overlay --attachable swarmpit-nginx || true
- docker network create -d overlay --attachable common-infra-nginx || true
- mkdir /sprint-data/mongo || true
- mkdir /sprint-data/grafana || true
- mkdir /sprint-data/redis || true
- mkdir /sprint-data/registry || true
- chmod 777 /sprint-data/grafana
- chmod 777 /sprint-data/redis
- chmod 777 /sprint-data/registry
@@ -27,6 +25,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:sprint-infra-docker-cleaner docker-cleaner
- docker push mathwave/sprint-repo:sprint-infra-docker-cleaner
deploy-dev:
stage: deploy-dev