@bugcrowd/ecs-commander

0.4.1 • Public • Published

ECS Commander

Assists with updating an ECS Service with a new Docker Image. It will monitor the new deployment and rollback to the previous Task Definition if more tasks than the configure threshold fail.

NOTE: We have moved the package under our bugcrowd NPM organization - this will be the only package location maintained going forward.

Running

$ bin/ecs-commander --help
Options:
  --help               Show help                                       [boolean]
  --version            Show version number                             [boolean]
  --cluster-arn                                                       [required]
  --service-name                                                      [required]
  --image                                                             [required]
  --container-name                                                    [required]
  --failure-threshold                                           [default: ".25"]
  • container-name is a single string that may include several container names, comma-separated. The downstream tools can support multiple containers that can be updated in the task definition, unfortunately only if all of them use the same image. Using the yargs array argument type unfortunately doesn't work so well here, as upstream scripts typically wrap this argument in double quotes, which prevents yargs from recognising the values as separate entries in the array.

Readme

Keywords

none

Package Sidebar

Install

npm i @bugcrowd/ecs-commander

Weekly Downloads

5

Version

0.4.1

License

MIT

Unpacked Size

10.7 kB

Total Files

6

Last publish

Collaborators

  • prodigysml
  • ohookins
  • xerarch
  • herpderpderpy