fix: Update grafana dashboards
All checks were successful
Deploy to Staging / Build Images (push) Successful in 35s
Deploy to Staging / Deploy to Staging (push) Successful in 51s
Deploy to Staging / Verify Staging (push) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (push) Successful in 7s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
All checks were successful
Deploy to Staging / Build Images (push) Successful in 35s
Deploy to Staging / Deploy to Staging (push) Successful in 51s
Deploy to Staging / Verify Staging (push) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (push) Successful in 7s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
This commit is contained in:
@@ -19,7 +19,7 @@ on:
|
||||
env:
|
||||
REGISTRY: git.motovaultpro.com
|
||||
DEPLOY_PATH: /opt/motovaultpro
|
||||
COMPOSE_FILE: docker-compose.yml
|
||||
BASE_COMPOSE_FILE: docker-compose.yml
|
||||
COMPOSE_BLUE_GREEN: docker-compose.blue-green.yml
|
||||
COMPOSE_PROD: docker-compose.prod.yml
|
||||
HEALTH_CHECK_TIMEOUT: "60"
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
cd "$DEPLOY_PATH"
|
||||
# Start shared infrastructure services (database, cache, logging)
|
||||
# These persist across blue-green deployments
|
||||
docker compose -f $COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d \
|
||||
docker compose -f $BASE_COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d \
|
||||
mvp-postgres mvp-redis mvp-loki mvp-alloy mvp-grafana
|
||||
|
||||
- name: Start target stack
|
||||
@@ -182,7 +182,7 @@ jobs:
|
||||
# --force-recreate ensures containers are recreated even if image tag is same
|
||||
# This prevents stale container content when image digest changes
|
||||
# Start shared OCR service and target stack
|
||||
docker compose -f $COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d --force-recreate \
|
||||
docker compose -f $BASE_COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d --force-recreate \
|
||||
mvp-ocr mvp-frontend-$TARGET_STACK mvp-backend-$TARGET_STACK
|
||||
|
||||
- name: Wait for stack initialization
|
||||
@@ -221,7 +221,7 @@ jobs:
|
||||
- name: Start Traefik
|
||||
run: |
|
||||
cd "$DEPLOY_PATH"
|
||||
docker compose -f $COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d mvp-traefik
|
||||
docker compose -f $BASE_COMPOSE_FILE -f $COMPOSE_BLUE_GREEN -f $COMPOSE_PROD up -d mvp-traefik
|
||||
|
||||
- name: Wait for Traefik
|
||||
run: |
|
||||
|
||||
@@ -15,8 +15,8 @@ on:
|
||||
env:
|
||||
REGISTRY: git.motovaultpro.com
|
||||
DEPLOY_PATH: /opt/motovaultpro
|
||||
COMPOSE_FILE: docker-compose.yml
|
||||
COMPOSE_STAGING: docker-compose.staging.yml
|
||||
BASE_COMPOSE_FILE: docker-compose.yml
|
||||
STAGING_COMPOSE_FILE: docker-compose.staging.yml
|
||||
HEALTH_CHECK_TIMEOUT: "60"
|
||||
LOG_LEVEL: DEBUG
|
||||
|
||||
@@ -170,8 +170,8 @@ jobs:
|
||||
export BACKEND_IMAGE=$BACKEND_IMAGE
|
||||
export FRONTEND_IMAGE=$FRONTEND_IMAGE
|
||||
export OCR_IMAGE=$OCR_IMAGE
|
||||
docker compose -f $COMPOSE_FILE -f $COMPOSE_STAGING down --timeout 30 || true
|
||||
docker compose -f $COMPOSE_FILE -f $COMPOSE_STAGING up -d
|
||||
docker compose -f $BASE_COMPOSE_FILE -f $STAGING_COMPOSE_FILE down --timeout 30 || true
|
||||
docker compose -f $BASE_COMPOSE_FILE -f $STAGING_COMPOSE_FILE up -d
|
||||
|
||||
- name: Wait for services
|
||||
run: sleep 5
|
||||
|
||||
Reference in New Issue
Block a user