mikestead / ecs-task-deploy Goto Github PK
View Code? Open in Web Editor NEWUpdate an AWS ECS task definition with Docker image and trigger a blue/green deployment
Update an AWS ECS task definition with Docker image and trigger a blue/green deployment
Currently when you launch an update, if the new task fails to come up, or is brought down due to a failing health check, you can be in a situation where ECS service keeps trying to bring back up this failing task even though this deploy tool will have reported the failure.
To avoid this we should add option to rollback the service to the previous task def if the update fails.
ECS has a feature where it is possible to populate env variables from the ssm parameter store.
The task definition the looks kinda like this. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
{
"containerDefinitions": [{
"secrets": [{
"name": "environment_variable_name",
"valueFrom": "arn:aws:ssm:region:aws_account_id:parameter/parameter_name"
}]
}]
}
In order for secrets to work the property "executionRoleArn"
must be set in the task definition but unfortately that property is not preserved by this script.
I opened a pull request to fix this. Would be great if it could be merged in since our deployments rely on this package. Thanks for making it <3
Branch | Build failing π¨ |
---|---|
Dependency | aws-sdk |
Current Version | 2.31.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
As aws-sdk is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
See changelog for more information.
The new version differs by 2 commits .
78b8b18
Updates SDK to v2.32.0
e6671c4
Add a means of specifying tags for s3.upload that applies to both single part and multipart uploads (#1425)
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.