Skip to content

Commit

Permalink
πŸ“ docs: API μ„œλ²„ μ‹€ν–‰ λŒ€κΈ° μ‹œκ°„ 늘림
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Mar 2, 2024
1 parent 914dcfb commit f1465c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/api/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ if [ -z $IS_GREEN_ACTIVATE ]; then
docker-compose pull green
echo "[$NOW_TIME] Green μ»¨ν…Œμ΄λ„ˆ Up (λΉŒλ“œ & μ‹€ν–‰)"
docker-compose up -d green
echo "[$NOW_TIME] 10초 ν›„ Health Check μ‹œμž‘"
sleep 10
echo "[$NOW_TIME] 15초 ν›„ Health Check μ‹œμž‘"
sleep 15

for retry_count in {1..15}; do
echo "[$NOW_TIME] Green health check ..."
Expand Down Expand Up @@ -103,8 +103,8 @@ else
docker-compose pull blue-api
echo "[$NOW_TIME] Blue μ»¨ν…Œμ΄λ„ˆ Up (λΉŒλ“œ & μ‹€ν–‰)"
docker-compose up -d blue-api
echo "[$NOW_TIME] 10초 ν›„ Health Check μ‹œμž‘"
sleep 10
echo "[$NOW_TIME] 15초 ν›„ Health Check μ‹œμž‘"
sleep 15


for retry_count in {1..15}; do
Expand Down

0 comments on commit f1465c5

Please sign in to comment.