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.
Source Distribution
ecs-deplojo-0.7.0.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file ecs-deplojo-0.7.0.tar.gz
.
File metadata
- Download URL: ecs-deplojo-0.7.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8ed90287b7539cb157259e17ff5dbef6e087b8e3515015b883567f6e95bd6b |
|
MD5 | b5a04d33dcc78fa296bd1036853c937c |
|
BLAKE2b-256 | 983edae7fe4a6271bc84d6a56cf14f20d65ba0be7b7c240ac012c0141edaf816 |
File details
Details for the file ecs_deplojo-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ecs_deplojo-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc910016c092f5fd9a0d9d2dfe427cb5915587327155968566d5d85733c4a2ce |
|
MD5 | bea28695c1a598932ec9b756f8bd0fc2 |
|
BLAKE2b-256 | 2858d4221706feb318b8c5dffa9ab642199661306b17971464b9ca016a0b884a |