From 58b449992bacbf5628cd8e5665e6c922158b1f1f Mon Sep 17 00:00:00 2001 From: geleeroyale Date: Tue, 19 Nov 2024 17:04:49 +0100 Subject: [PATCH] Update main-pipeline.yml --- .github/workflows/main-pipeline.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-pipeline.yml b/.github/workflows/main-pipeline.yml index 72b8cad1a..2eae7af12 100644 --- a/.github/workflows/main-pipeline.yml +++ b/.github/workflows/main-pipeline.yml @@ -179,8 +179,8 @@ jobs: cd QAcc-BE ## Update each backend service one by one ## First Deployment - docker compose down qacc-be-graph-ql1 - docker compose down qacc-be-job + docker compose rm -fs qacc-be-graph-ql1 + docker compose rm -fs qacc-be-job docker compose up --force-recreate -d qacc-be-graph-ql1 docker compose up --force-recreate -d qacc-be-job @@ -217,7 +217,7 @@ jobs: script: | cd QAcc-BE ## Second Deployment - docker compose down qacc-be-graph-ql2 + docker compose rm -fs qacc-be-graph-ql2 docker compose up --force-recreate -d qacc-be-graph-ql2 # Wait for qacc-be-graph-ql2 to be healthy (timeout after 5 minutes) @@ -248,7 +248,7 @@ jobs: script: | cd QAcc-BE ## Third Deployment - docker compose down qacc-be-graph-ql3 + docker compose rm -fs qacc-be-graph-ql3 docker compose up --force-recreate -d qacc-be-graph-ql3 # Wait for qacc-be-graph-ql3 to be healthy (timeout after 5 minutes) @@ -263,4 +263,4 @@ jobs: echo "qacc-be-graph-ql3 is not healthy, stopping deployment" exit 1 fi - echo "First deployment phase completed successfully" \ No newline at end of file + echo "First deployment phase completed successfully"