Deployment tool for Amazon ECS
Project description
Deployment tool for Amazon ECS.
Installation
pip install ecs-deplojo
Usage
Usage: ecs-deplojo [OPTIONS]
Options:
--config FILENAME [required]
--var VAR
--dry-run
--output-path PATH
--role-arn <optional arn>
--help Show this message and exit.
Example configuration
--- cluster_name: example environment: DATABASE_URL: postgresql:// task_definitions: web: template: task_definitions/web.json overrides: uwsgi: memory: 512 portMappings: - hostPort: 0 containerPort: 8080 protocol: tcp manage: template: task_definitions/manage.json services: web: task_definition: web before_deploy: - task_definition: manage container: uwsgi command: manage.py migrate --noinput after_deploy: - task_definition: manage container: uwsgi command: manage.py clearsessions
Example log output
Starting deploy on cluster example (1 services)
Registered new task definition web:10
Starting one-off task 'manage.py migrate --noinput' via manage:10 (uwsgi)
Updating service web with task defintion web:10
Waiting for deployments
Waiting for services: web (0/2)
Waiting for services: web (1/2)
Waiting for services: web (2/2)
Deployment finished: web (2/2)
Starting one-off task 'manage.py clearsessions' via manage:10 (uwsgi)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size ecs_deplojo-0.6.0-py2.py3-none-any.whl (10.0 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size ecs-deplojo-0.6.0.tar.gz (12.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for ecs_deplojo-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed36ea08a8f7dd2898af249135c3301701c1b5b5636c7eb10f4a15476656b71 |
|
MD5 | 761594d2a84490385f03d35abe768199 |
|
BLAKE2-256 | d117d4a6fa622da800d13eb44dfb85e4aec2e06591d62326b63886eb5e205885 |