https://github.com/giwa/ecs-deploytool
Deploytool for ECS
https://github.com/giwa/ecs-deploytool
ecs ecs-cli
Last synced: 9 months ago
JSON representation
Deploytool for ECS
- Host: GitHub
- URL: https://github.com/giwa/ecs-deploytool
- Owner: giwa
- Created: 2017-04-11T06:05:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T09:11:20.000Z (over 8 years ago)
- Last Synced: 2025-03-01T00:48:42.105Z (about 1 year ago)
- Topics: ecs, ecs-cli
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ECS Deploytool
This script helps deloying docker image to ecs. ECS deploytool gives capabilities that deploy docker application to ECS. This repository does not support building docker iamges.
## Usage
### Install
### Prerequisite `AWS_ACCESS_KEY` and `AWS_SECRET_KEY` are exposed as enviromental variables.
```
Usage: ecs-deploytool [OPTIONS] CONFIG COMMAND [ARGS]...
Options:
--env TEXT Deploy environment
--help Show this message and exit.
Commands:
deploy_service Deploy ECS service deploytool...
fetch_image fetch a docker image from ECR
keep_images keep images in repository (default 5)
keep_task_definitions keep task definitions (default 5)
list_repositories list repository in ECR
push_image push a docker image to ECR
```
### Example
Fetch an image
```
DEPLOY_ENV=staging deploytool ./example/deploy.ini fetch_image ecr/image_name
```
## Development
`-e` is development flag in pip
```
pip install -e .
```