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

时间:2021-05-06 16:26:40

标签: amazon-ecs aws-code-deploy

在ECS服务设置的“步骤1:配置服务”上,

enter image description here

我将修订版从“54 (latest)”更改为“53”以进行更新。

enter image description here

然后,点击Skip to review

enter image description here

点击Next step

enter image description here

最后,点击 Update Service

enter image description here

但是,CodeDeploy 不会在更新服务后自动运行。为什么更新服务后 CodeDeploy 没有自动运行?

1 个答案:

答案 0 :(得分:0)

您点击了 Skip to review 以跳过“Step 1:Configure service”和其他步骤。

enter image description here

因此,您将修订版更改为“54 (latest)”的更改未应用。因此,修订版仍为“53”,这意味着修订版未更改为“54 (latest)”。修订版保持“53”。

enter image description here

请记住,CodeDeploy”在更新服务后自动运行,如果您更改 task definitionplatform version。因此,在将修订版更改为“54 (latest)”后,

enter image description here

继续点击Next step

enter image description here

然后,点击 Update Service。最后,CodeDeploy 会在更新服务后自动运行。

enter image description here

相关问题