You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-51
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,16 @@
1
-
ecs-deploy
2
-
=================
1
+
# ecs-deploy
3
2
4
-
[](https://app.codeship.com/projects/203720)
3
+

5
4
6
5
This script uses the Task Definition and Service entities in Amazon's ECS to instigate an automatic blue/green deployment.
7
6
8
-
NOTE: Maintenance Only
9
-
----------------------
7
+
## NOTE: Maintenance Only
10
8
11
9
`ecs-deploy` is now in maintenance mode. In other words, we are considering it
12
10
"feature complete" and will generally only consider PRs if they are bugfixes or
13
11
are to add support for new AWS CLI features.
14
12
15
-
Usage
16
-
-----
13
+
## Usage
17
14
18
15
One of the following is required:
19
16
-n | --service-name Name of service to deploy
@@ -66,19 +63,19 @@ Usage
66
63
Examples:
67
64
Simple deployment of a service (Using env vars for AWS settings):
Here's an example of a suitable custom policy for [AWS IAM](https://aws.amazon.com/documentation/iam/):
192
184
193
185
```json
@@ -215,15 +207,15 @@ Here's an example of a suitable custom policy for [AWS IAM](https://aws.amazon.c
215
207
}
216
208
```
217
209
218
-
Troubleshooting
219
-
---------------
220
-
- You must provide AWS credentials in one of the supported formats. If you do
221
-
not, you'll see some error output from the AWS CLI, something like:
210
+
## Troubleshooting
222
211
223
-
You must specify a region. You can also configure your region by running "aws configure".
212
+
- You must provide AWS credentials in one of the supported formats. If you do
213
+
not, you'll see some error output from the AWS CLI, something like:
214
+
215
+
You must specify a region. You can also configure your region by running "aws configure".
216
+
217
+
## Testing
224
218
225
-
Testing
226
-
-------
227
219
Automated tests are performed using [bats](https://github.com/sstephenson/bats).
228
220
The goal of testing is to ensure that updates/changes do not break core functionality.
229
221
Unfortunately not all of `ecs-deploy` is testable since portions interact with
@@ -232,9 +224,10 @@ is tested.
232
224
233
225
Any new functionality and pull requests should come with tests as well (if possible).
234
226
235
-
Github Actions Support
236
-
-------
237
-
Github Actions support is available. Add a code block similar to that below to your actions yaml file. Parameters are passed to the ecs-deploy tool under 'with' section. For each parameter, the parameter name followed by _cmd must be called with the appropriate parameter option like '--aws-access-key' in addition to supplying the parameter aws_access_key with the appropriate value.
227
+
## Github Actions Support
228
+
229
+
Github Actions support is available. Add a code block similar to that below to your actions yaml file. Parameters are passed to the ecs-deploy tool under 'with' section. For each parameter, the parameter name followed by \_cmd must be called with the appropriate parameter option like '--aws-access-key' in addition to supplying the parameter aws_access_key with the appropriate value.
230
+
238
231
```
239
232
deploy_to_ecs:
240
233
name: 'Deploy updated container image via blue/green deployment to ECS service.'
0 commit comments