diff --git a/README.md b/README.md index 8d69b8a..c6932d9 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Usage --run-task Run created task now. If you set this, service-name are not needed. --wait-for-success Wait for task execution to complete and to receive the exitCode 0. --launch-type The launch type on which to run your task. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) - --platform-version The Fargate platform version on which to run your task. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) + --platform-version The Fargate platform version on which to run your task. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) --network-configuration The network configuration for the task. This parameter is required for task definitions that use the awsvpc network mode to receive their own elastic network interface, and it is not supported for other network modes. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) diff --git a/ecs-deploy b/ecs-deploy index 924bc30..31117d8 100755 --- a/ecs-deploy +++ b/ecs-deploy @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Setup default values for variables -VERSION="3.9.1" +VERSION="3.10.0" CLUSTER=false SERVICE=false TASK_DEFINITION=false @@ -57,18 +57,22 @@ Optional arguments: -m | --min minumumHealthyPercent: The lower limit on the number of running tasks during a deployment. -M | --max maximumPercent: The upper limit on the number of running tasks during a deployment. -t | --timeout Default is 90s. Script monitors ECS Service for new task definition to be running. - -e | --tag-env-var Get image tag name from environment variable. If provided this will override value specified in image name argument. - -to | --tag-only New tag to apply to all images defined in the task (multi-container task). If provided this will override value specified in image name argument. + -e | --tag-env-var Get image tag name from environment variable. If provided this will override value + specified in image name argument. + -to | --tag-only New tag to apply to all images defined in the task (multi-container task). + If provided this will override value specified in image name argument. --max-definitions Number of Task Definition Revisions to persist before deregistering oldest revisions. --task-definition-file File used as task definition to deploy --enable-rollback Rollback task definition if new version is not running before TIMEOUT --force-new-deployment Force a new deployment of the service. Default is false. - --use-latest-task-def Will use the most recently created task definition as it's base, rather than the last used. + --use-latest-task-def Will use the most recently created task definition as it's base, rather than the last used. --skip-deployments-check Skip deployments check for services that take too long to drain old tasks --run-task Run created task now. If you set this, service-name are not needed. --wait-for-success Wait for task execution to complete and to receive the exitCode 0. - --launch-type The launch type on which to run your task. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) - --platform-version The Fargate platform version on which to run your task. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) + --launch-type The launch type on which to run your task. + (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) + --platform-version The Fargate platform version on which to run your task. + (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html) --network-configuration The network configuration for the task. This parameter is required for task definitions that use the awsvpc network mode to receive their own elastic network interface, and it is not supported for other network modes. (https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html)