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
--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.
Source Distribution
ecs-deplojo-0.3.0.tar.gz
(10.6 kB
view details)
Built Distribution
File details
Details for the file ecs-deplojo-0.3.0.tar.gz
.
File metadata
- Download URL: ecs-deplojo-0.3.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a319c67d34e2811a23dd472a61dd5516a924647fb82fad595350fd7e690cfe9 |
|
MD5 | 245b1bd0600a6d4bec0f178d0909f147 |
|
BLAKE2b-256 | d514042b117f54307cbd8664508e9ee0f31684820dc8634f5d0681416523939c |
File details
Details for the file ecs_deplojo-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ecs_deplojo-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b41f189f87e2b12d7272925ab1a056398b581d07106404d05144fcb1d0bb8fed |
|
MD5 | ddcc1301719ae6358e6505b16c1ed057 |
|
BLAKE2b-256 | bc47155a666e27c4c4e2a90f31c31202623be667d12771e39ae1243e81b4b152 |