简体   繁体   English

AWS Copilot 管道失败,为什么 CodeBuild 找不到 buildspec.yml?

[英]AWS Copilot pipeline fails, why cant CodeBuild find buildspec.yml?

I created an aws Copilot pipeline but it fails because CodeBuild says it can't find buildspec.yml .我创建了一个 aws Copilot 管道,但它失败了,因为 CodeBuild 说找不到buildspec.yml

CodeBuild 找不到 buildspec.yml

I'm not sure where the beginning of the path comes from /codebuild/output/src1#####3/src/ however the second part of the path is exactly correct /copilot/pipelines/projectname-master/buildspec.yml我不确定路径的开头来自/codebuild/output/src1#####3/src/但是路径的第二部分是完全正确的/copilot/pipelines/projectname-master/buildspec.yml

buildspec.yml 存在

How can I troubleshoot why this file cannot be found?如何解决无法找到此文件的问题?

Note: this was set up using the copilot pipeline init cli command注意:这是使用copilot pipeline init cli 命令设置的

I believe the problem is related to a bug surfaced here: https://github.com/aws/copilot-cli/issues/3468 , which has been fixed with https://github.com/aws/copilot-cli/pull/3532 and released just this morning.我认为问题与此处出现的错误有关: https://github.com/aws/copilot-cli/issues/3468 ,已通过https://github.com/aws/copilot-cli/pull修复/3532并于今天早上发布。 Please update Copilot to v1.18;0.请将 Copilot 更新到 v1.18;0。 let us know if that doesn't solve the problem.如果这不能解决问题,请告诉我们。

Thanks!谢谢!

暂无
暂无

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

相关问题 AWS CodeBuild - BuildSpec.yml - 导出变量未解析值 - AWS CodeBuild - BuildSpec.yml - exported-variables are not resolving values AWS Codecommit - Codebuild 将分支名称传递给 buildspec.yml - AWS Codecommit - Codebuild pass branch name to buildspec.yml 您如何编写用于 NodeJS 和 AWS CodeBuild 的 buildspec.yml? - How do you write buildspec.yml for use with NodeJS and AWS CodeBuild? CodeBuild,获取文件夹列表,里面的文件发生了改变buildspec.yml - CodeBuild, get the list of folders that have changed files inside them buildspec.yml 如何使用 buildspec.yml 在 AWS CodePipeline 中从 Dockerfile 构建图像,然后推送到 ECR? - How to build Image from Dockerfile in AWS CodePipeline using buildspec.yml, and then push to ECR? 我们如何通过 Boto3 API 从每个代码构建项目中获取 buildspec.yml 文件的内容 - how can we get contents of a buildspec.yml file from each codebuild project through Boto3 API 如何使用 AWS CodePipeline 为 Laravel 应用程序正确创建 buildspec.yml 文件 - How do I properly create buildspec.yml file for Laravel Application using AWS CodePipeline AWS CDK 管道:禁用 publishAssetsInParallel 时,资产阶段无法找到 buildSpec FileAsset.yaml - AWS CDK Pipeline: Assets stage fails to find buildSpec FileAsset.yaml when publishAssetsInParallel is disabled 如何从 AWS Codebuild buildspec 文件中排除文件夹? - How do I exclude a folder from AWS Codebuild buildspec file? 我可以将 AWS Copilot 与 docker-compose.yml 文件一起使用吗? - Can I use AWS Copilot with docker-compose.yml file?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM