ECS服务的有意见部署应用程序
项目描述
为ECS服务提供有意见的部署应用程序。
在执行ecs-pipeline-deploy时,将检查集群中当前服务的当前任务定义。
如果标签不同,它将
修改现有的任务定义,替换任务定义中的镜像
更新服务以使用新的任务定义
可选地等待新的标签上线并运行,以及其他服务的所有任务定义停止。
如果标签相同,如果指定了--redeploy,则可选地重新部署服务; 或者 可选地复制任务定义到新的任务定义,并使用 —force 参数作为如果标签不同进行部署; 或者 如果镜像标签匹配且未指定--redeploy 或 --force,则错误退出。
用法
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
项目详情
关闭
ecs-pipeline-deploy-0.5.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 60a4bdcc3dc3ffb78a3acc8004b5af6e0a328fe9a452c281304003678e755c8f |
|
MD5 | ef8023f0a8176f06e52b0d1b10515611 |
|
BLAKE2b-256 | 4777a9e32731aa9a9bed1151180274895898cabb6f47592a56f5149005dc47be |