mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
ci: concurrency improvements
This commit is contained in:
+6
-1
@@ -2,6 +2,10 @@ stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
resource_group:
|
||||
name: production
|
||||
process_mode: oldest_first
|
||||
|
||||
variables:
|
||||
DOCKER_TLS_CERTDIR: /certs
|
||||
DEPLOYMENT_VERSION: $CI_COMMIT_SHA
|
||||
@@ -83,6 +87,7 @@ deploy:
|
||||
environment:
|
||||
name: production
|
||||
url: https://datarush.itqdev.xyz
|
||||
resource_group: production
|
||||
script:
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
@@ -106,6 +111,6 @@ deploy:
|
||||
docker compose up -d --remove-orphans --force-recreate >> deploy.log 2>&1
|
||||
docker compose ps >> deploy.log 2>&1
|
||||
|
||||
nohup docker system prune --force >> deploy.log 2>&1 &
|
||||
nohup docker system prune -a --force >> deploy.log 2>&1 &
|
||||
EOF
|
||||
retry: 2
|
||||
|
||||
Reference in New Issue
Block a user