Skip to content

Commit

Permalink
Update staging-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
geleeroyale authored Nov 19, 2024
1 parent 58b4499 commit 6e98c99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/staging-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -263,4 +263,4 @@ jobs:
echo "qacc-be-graph-ql3 is not healthy, stopping deployment"
exit 1
fi
echo "First deployment phase completed successfully"
echo "First deployment phase completed successfully"

0 comments on commit 6e98c99

Please sign in to comment.