我们如何在AWS ECS更新服务CLI命令中添加WAIT功能?
是否可以在CLI命令中添加“ Wait”功能而不运行其他命令” AWS ECS WAIT SERVICES稳定
”
aws ecs update-service --cluster "$CI_AWS_ECS_CLUSTER" --service "$CI_AWS_ECS_SERVICE" \
--task-definition "family:revision" --wait ?
Is that possible can we add "wait" feature in below cli command without running another command "aws ecs wait services-stable
"
aws ecs update-service --cluster "$CI_AWS_ECS_CLUSTER" --service "$CI_AWS_ECS_SERVICE" \
--task-definition "family:revision" --wait ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,不可能使第一个命令等待。如果您想等待部署完成,则必须在以后运行
aws ecs等待服务稳定
命令。No it's not possible to make the first command wait. You have to run the
aws ecs wait services-stable
command after, if you want to wait on your deployment to complete.