Skip to content

Commit

Permalink
Merge pull request #262 from silinternational/develop
Browse files Browse the repository at this point in the history
Release 3.10.6
  • Loading branch information
forevermatt authored Sep 29, 2022
2 parents ecb0573 + 980fa66 commit c665a0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecs-deploy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Setup default values for variables
VERSION="3.10.5"
VERSION="3.10.6"
CLUSTER=false
SERVICE=false
TASK_DEFINITION=false
Expand Down Expand Up @@ -521,9 +521,9 @@ function waitForGreenDeployment {
do
NUM_DEPLOYMENTS=$($AWS_ECS describe-services --services $SERVICE --cluster $CLUSTER | jq "[.services[].deployments[]] | length")

# Wait to see if more than 1 deployment stays running
# Wait until 1 deployment stays running
# If the wait time has passed, we need to roll back
if [ $NUM_DEPLOYMENTS -ge 1 ]; then
if [ $NUM_DEPLOYMENTS -eq 1 ]; then
echo "Service deployment successful."
DEPLOYMENT_SUCCESS="true"
# Exit the loop.
Expand Down

0 comments on commit c665a0e

Please sign in to comment.