AWS CodeDeploy - appspec.yml 未找到
AWS CodeDeploy - appspec.yml not found
我正在尝试通过 AWS CodeDeploy 进行部署。但是它总是在 before-insatll 失败并出现以下错误。
No such file or directory -
/opt/codedeploy-agent/deployment-root/xxxxx/xxxxxx/deployment-archive/appspec.yml
我在 S3 存储桶中加载的 ZIP 文件遵循此处定义的结构。
|--content (subfolder)
| |--myTextFile.txt
| |--mySourceFile.rb
| |--myExecutableFile.exe
| |--myInstallerFile.msi
| |--myPackage.rpm
| |--myImageFile.png
|--scripts (subfolder)
| |--myShellScript.sh
| |--myBatchScript.bat
| |--myPowerShellScript.ps1
|--appspec.yml
我真的想不通是哪里出了问题。任何帮助将不胜感激。
CodeDeploy 似乎找不到组件文件,导致部署失败。您能否确保在解压缩包时,所有文件都被提取到当前目录而不是新文件夹?
不确定您是否在 mac os 中捆绑,但我们确实在此页面上提供了故障排除:http://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting.html#troubleshooting-bundle-with-finder
我正在尝试通过 AWS CodeDeploy 进行部署。但是它总是在 before-insatll 失败并出现以下错误。
No such file or directory - /opt/codedeploy-agent/deployment-root/xxxxx/xxxxxx/deployment-archive/appspec.yml
我在 S3 存储桶中加载的 ZIP 文件遵循此处定义的结构。
|--content (subfolder)
| |--myTextFile.txt
| |--mySourceFile.rb
| |--myExecutableFile.exe
| |--myInstallerFile.msi
| |--myPackage.rpm
| |--myImageFile.png
|--scripts (subfolder)
| |--myShellScript.sh
| |--myBatchScript.bat
| |--myPowerShellScript.ps1
|--appspec.yml
我真的想不通是哪里出了问题。任何帮助将不胜感激。
CodeDeploy 似乎找不到组件文件,导致部署失败。您能否确保在解压缩包时,所有文件都被提取到当前目录而不是新文件夹?
不确定您是否在 mac os 中捆绑,但我们确实在此页面上提供了故障排除:http://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting.html#troubleshooting-bundle-with-finder