Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

An opinionated deployment application for ECS services.

On execution ecs-pipeline-deploy will examine the current task definition in the cluster for the current service.

If the tags are different it will:

  1. Modify the existing task definition replacing the image in the task definition

  2. Update the service to use the new task definition

  3. Optionally wait for the new tag to be up and running and all other task definitions for the service to stop.

If the tags are the same it will optionally redeploy the service if --redeploy was specified; or optionally copy the task definition to a new one and deploy as if the tags were different with the —force argument; or exit in error if the image tags match and neither --redeploy nor --force was specified.

Usage

usage: ecs-pipeline-deploy [-h] [-f] [-r] [-w] [-o] [-d DELAY] [-v] [-V]
                           [CLUSTER] [SERVICE] [IMAGE]

Opinionated ECS deployment made easy

positional arguments:
  CLUSTER               The ECS cluster name to deploy in (default: None)
  SERVICE               The ECS Service name to deploy (default: None)
  IMAGE                 The Docker image (with tag) to deploy for finding the
                        task definition (default: None)

optional arguments:
  -h, --help            show this help message and exit
  -f, --force           Create a new task definition for the image even if one
                        already exists for the tagged version (default: False)
  -r, --redeploy        Force a redeployment if the tagged images match
                        (default: False)
  -w, --wait            Wait for running tasks to be replaced (default: False)
  -o, --only-new        If waiting, wait for only newly deployed tasks to be
                        running (default: False)
  -d DELAY, --delay DELAY
                        Seconds to delay before checking tasks while waiting
                        on a deployment to finish (default: 5)
  -v, --verbose
  -V, --version         show program's version number and exit

Release files for ecs-pipeline-deploy 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecs-pipeline-deploy 0.5.1
File Size Uploaded
ecs-pipeline-deploy-0.5.1.tar.gz 8.0 kB Details

Release files / ecs-pipeline-deploy-0.5.1.tar.gz

Download URL ecs-pipeline-deploy-0.5.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
60a4bdcc3dc3ffb78a3acc8004b5af6e0a328fe9a452c281304003678e755c8f
BLAKE2b-256 checksum
How to use checksums
4777a9e32731aa9a9bed1151180274895898cabb6f47592a56f5149005dc47be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page