gpt4 book ai didi

aws-code-deploy - CodeDeploy 代理在版本相对路径 "appspec.yml"处的解压版本目录中未找到 AppSpec 文件

转载 作者:行者123 更新时间:2023-12-01 14:21:26 26 4
gpt4 key购买 nike

根据以下错误消息 codedeploy 将我的存档文件夹复制到某个临时位置。我可以在 deployment-archive 文件夹之后找到我的 archive.zip 文件夹。

The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at revision-relative path "appspec.yml". The revision was unpacked to directory "/opt/codedeploy-agent/deployment-root/59a04892-4afd-4e82-9335-52e8b6047d4b/d-WZDFGDBHU/deployment-archive", and the AppSpec file was expected but not found at path "/opt/codedeploy-agent/deployment-root/59a04892-4afd-4e82-9335-52e8b6047d4b/d-WZDFGDBHU/deployment-archive/appspec.yml". Consult the AWS CodeDeploy Appspec documentation for more information at AWS website



但它在部署存档文件夹之后立即看起来 appspec.yml 。但它位于deployment-archive/archive/appspec.yml

appspec.yml 和我的 war 文件都压缩在 S3 中

如何解决这个问题?

最佳答案

发现问题。我没有选择 appec.yml 、 myapp 文件并压缩它们,而是为它们创建了文件夹,然后创建了 zip 文件。
我应该只通过选择文件来创建 zip 文件,而不是为它们创建文件夹。
在这个问题上浪费了很多时间:(

关于aws-code-deploy - CodeDeploy 代理在版本相对路径 "appspec.yml"处的解压版本目录中未找到 AppSpec 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53103139/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com