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
By default, the output is a table with per-container status and severity counts. Use `--detail` to include vulnerability descriptions and `--json` to output the aggregated result as JSON.
109
109
110
-
### IAM Policy
110
+
### IAM Policy (for `cage rollout`)
111
111
112
-
`cararycage` requires several IAM policies to run. Here is an example of IAM policy for `canarycage`:
112
+
`canarycage` requires several IAM policies to run. Here is a recommended example of IAM policy for `cage rollout` command with Fargate:
You can restrict the `Resource` field of `ecs:DescribeServices` and `ecs:DescribeTaskDefinition` actions to specific services and task definitions if you want to limit the scope of the policy.
250
+
164
251
### Why we need `canarycage`
165
252
166
253
Currently, AWS ECS provides several ways to deploy task to service. [DeploymentCircuitBreaker](https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/APIReference/API_DeploymentCircuitBreaker.html) is one of the choices. This feature is useful for preventing service from being unavailable during deployment. However, it is not enough for us. We need more robust and reliable deployment tool. `canarycage` is designed to be a tool that can deploy tasks to services with high availability.
@@ -169,19 +256,9 @@ DeploymentCircuitBreaker automatically detects the failure of the deployment and
169
256
170
257
This approach is very robust and reliable. For past 5 years, we have been using this tool for all production microservices running on ECS Fargate with no downtime caused by deployment. Many misconfigurations and bugs have been detected by canary task before updating the service.
171
258
172
-
## With GitHub Actions
259
+
## GitHub Actions
173
260
174
-
You can use `canarycage` with GitHub Actions. Here is an example of GitHub Actions workflow:
175
-
176
-
```yaml
177
-
- uses: loilo-inc/actions-setup-cage@7
178
-
with:
179
-
github-token: ${{ secrets.GITHUB_TOKEN }}
180
-
- uses: loilo-inc/actions-deploy-cage@v7
181
-
with:
182
-
region: your-region
183
-
deploy-context: deploy
184
-
```
261
+
Canarycage Github Actions are now unavailable due to security concerns.
0 commit comments