简体   繁体   English

在 ECS (AWS) 中更新服务后 CodeDeploy 不会自动运行

[英]CodeDeploy doesn't run automatically after updating a service in ECS (AWS)

On "Step 1:Configure service" of ECS Service setting,在 ECS 服务设置的“步骤 1:配置服务”中,

在此处输入图像描述

I changed the Revison to " 54 (latest) " from " 53 " for update.我将 Revison 从“ 53 ”更改为“ 54 (latest) ”以进行更新。

在此处输入图像描述

Then, clicked on Skip to review ,然后,点击Skip to review

在此处输入图像描述

Clicked on Next step ,点击Next step

在此处输入图像描述

Finally, clicked on Update Service .最后,点击Update Service

在此处输入图像描述

However, CodeDeploy doesn't run automatically after updating the service.但是,更新服务后 CodeDeploy 不会自动运行。 Why doesn't CodeDeploy run automatically after updating the service?为什么更新服务后 CodeDeploy 不自动运行?

You clicked on Skip to review to skip " Step 1:Configure service " and other steps as well.您单击Skip to review以跳过“ Step 1:Configure service ”和其他步骤。

在此处输入图像描述

So your change of the Revison to " 54 (latest) " is not applied.因此,您将 Revison 更改为“ 54 (latest) ”不适用。 So the Revision is still " 53 " which means the Revision is not changed to " 54 (latest) ".所以 Revision 仍然是“ 53 ”,这意味着 Revision 没有更改为“ 54 (latest) ”。 The Revision keeps "53".修订保持“53”。

在此处输入图像描述

Remember " CodeDeploy runs automatically after updating a service if you change task definition or platform version " .请记住“如果您更改task definitionplatform versionCodeDeploy在更新服务后自动运行” So after changing the Revison to " 54 (latest) ",所以在将 Revison 改为“ 54 (latest) ”之后,

在此处输入图像描述

Keep clicking on Next step .继续点击Next step

在此处输入图像描述

Then, click on Update Service .然后,单击Update Service Finally, CodeDeploy will run automatically after updating the service.最后,CodeDeploy 将在更新服务后自动运行。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM