Merge pull request 'Remove --wait option from docker compose commands in deployment stages' (#54) from remove-wait into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 55s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (push) Successful in 1m19s
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m5s
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 55s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (push) Successful in 1m19s
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m5s
Reviewed-on: #54
This commit is contained in:
@@ -66,7 +66,7 @@ jobs:
|
||||
SCRIPT_AFTER: |
|
||||
set -e
|
||||
cd ${{ needs.prepare_context.outputs.pr_path }}
|
||||
docker compose --env-file dev.env -f docker-compose.yaml -f docker-compose.dev.yaml up -d --build --remove-orphans --wait
|
||||
docker compose --env-file dev.env -f docker-compose.yaml -f docker-compose.dev.yaml up -d --build --remove-orphans
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# STAGE 3: DEPLOY STAGING
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
SCRIPT_AFTER: |
|
||||
set -e
|
||||
cd ${{ env.REMOTE_STAGING_PATH }}
|
||||
docker compose --env-file staging.env -f docker-compose.yaml up -d --build --remove-orphans --wait
|
||||
docker compose --env-file staging.env -f docker-compose.yaml up -d --build --remove-orphans
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# STAGE 3.5: DEPLOY PRE-PROD
|
||||
@@ -119,7 +119,7 @@ jobs:
|
||||
SCRIPT_AFTER: |
|
||||
set -e
|
||||
cd ${{ env.REMOTE_PREPROD_PATH }}
|
||||
docker compose --env-file preprod.env -f docker-compose.yaml -f docker-compose.prod.yaml -f docker-compose.preprod.yaml up -d --build --remove-orphans --wait
|
||||
docker compose --env-file preprod.env -f docker-compose.yaml -f docker-compose.prod.yaml -f docker-compose.preprod.yaml up -d --build --remove-orphans
|
||||
|
||||
- name: Run E2E Tests
|
||||
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2 # v1.2.5
|
||||
@@ -181,7 +181,7 @@ jobs:
|
||||
SCRIPT_AFTER: |
|
||||
set -e
|
||||
cd ${{ env.REMOTE_PROD_PATH }}
|
||||
docker compose --env-file prod.env -f docker-compose.yaml -f docker-compose.prod.yaml up -d --build --remove-orphans --wait
|
||||
docker compose --env-file prod.env -f docker-compose.yaml -f docker-compose.prod.yaml up -d --build --remove-orphans
|
||||
|
||||
# Run E2E Tests
|
||||
echo "Running E2E tests..."
|
||||
|
||||
Reference in New Issue
Block a user