ecs-deploy
ecs-deploy copied to clipboard
DeployBlueGreenAction class to handle CodeDeploy deployments
- Add a new option for
ecs deployfunction. - Code Deploy Application Name
--cd-application-name AppECS-service-name - If
--cd-application-nameis given, aDeployBlueGreenActioninstance is created to handle the creation and monitoring of the CodeDeploy deployment process.
Example call/output:
$ ecs deploy cluster-name service-name --task task-def-name --image docker_image --cd-application-name AppECS-cd-service-name
Deploying based on task definition: task-def-name:99
Updating task definition
Changed image of container "container-name" to: "docker_image" (was: "old_docker_image")
Creating new task definition revision
Successfully created revision: 100
Updating service
Deployment created: d-LAAKLJFF0
https://us-east-1.console.aws.amazon.com/codesuite/codedeploy/deployments/d-LAAKLJFF0
Successfully changed task definition to: task-def-name:100
Deploying new task definition..............................................................................
Deployment successful
Deregister task definition revision
Successfully deregistered revision: 99
Related to https://github.com/fabfuel/ecs-deploy/issues/120
Anything I can do to get this over the finish line? or, another option would be to have a flag to disable the deploy after updating the task def.