ecs-task-run
Install
$ pip install ecs-task-run
Create new revision
To create a new release, you need to edit the setup.py file, stating the number of the new version.
After you merge, the travis-ci pipeline will automatically publish the new version at https://pypi.org/project/ecs-task-run/
Using
Running tasks:
$ ecs-task-run --cluster YOUR_CLUSTER_NAME --task YOUR_TASK_DEFINITION --image YOUR_IMAGE
or:
$ ecs-run task --cluster YOUR_CLUSTER_NAME --task YOUR_TASK_DEFINITION --image YOUR_IMAGE
or:
$ ecs-run task -c YOUR_CLUSTER_NAME -t YOUR_TASK_DEFINITION -i YOUR_IMAGE
Updating Services:
$ ecs-run update-service --cluster YOUR_CLUSTER_NAME --task YOUR_TASK_DEFINITION --image YOUR_IMAGE --service YOUR_SERVICE_NAME
or:
$ ecs-run update-service -c YOUR_CLUSTER_NAME -t YOUR_TASK_DEFINITION -i YOUR_IMAGE -s YOUR_SERVICE_NAME
Running a deploy config
To run a list of jobs from a file.
ecs-run run-jobs --path LOCAL_PATH_TO_CONFIG
or
ecs-run run-jobs -p LOCAL_PATH_TO_CONFIG
Example config:
[{
"job_option":"task",
"task":"YOUR_TASK_DEFINITION",
"image":"YOUR_IMAGE",
"cluster":"YOUR_CLUSTER_NAME"
},
{
"job_option":"update-service",
"task":"YOUR_TASK_DEFINITION",
"service":"YOUR_SERVICE_NAME",
"image":"YOUR_IMAGE",
"cluster":"YOUR_CLUSTER_NAME"
}]
Metadata
Release files for ecs-task-run 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ecs_task_run-0.0.9.tar.gz | 3.5 kB | Without provenance | Details for ecs_task_run-0.0.9.tar.gz |
Release files / ecs_task_run-0.0.9.tar.gz
| Download URL | ecs_task_run-0.0.9.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a430e998c965bc79c9b9247ff0a39889330e7d31bc4392f531d27735f556813
|
|
BLAKE2b-256 checksum How to use checksums |
08ec690ba68319df2ca3249401759497faa903a352217edce961e77232cf7eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
|
Security for ecs-task-run 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.