- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正致力于在 AWS 上实现管道,但出现错误 YAML_FILE_ERROR: YAML file does not exist
,不知道为什么。我正在使用 github repo 进行平均堆栈项目,入口文件是 docker-compose. Yml
.
谢谢
最佳答案
AWS CodeBuild 预计 buildspec.yml
文件位于顶层。人们常犯的一个错误是压缩代码文件夹,其中确实包含 buildspec.yml
在顶层,但是当解压此 zip 文件时,它会创建代码文件夹并放置 buildspec.yml
在里面(它在本地的方式),意思是 buildspec.yml
现在不在顶级。
解决方案是:不要压缩代码文件夹,而是进入代码文件夹,选择所有文件,然后进行压缩。
亚马逊是这么说的here :
Important
Do not include the (root directory name) directory, only the directories and files in the (root directory name) directory.
关于amazon-web-services - YAML_FILE_ERROR : YAML file does not exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56038714/
我正致力于在 AWS 上实现管道,但出现错误 YAML_FILE_ERROR: YAML file does not exist ,不知道为什么。我正在使用 github repo 进行平均堆栈项目,
我是 AWS CodePipeline 的新手,过去从未使用过任何持续集成工具,如 Jenkins 等。我创建了一个新的 AWS CodePipeline 作为 AWS CodeCommit(代码存储
我正在实现代码构建项目,但收到错误 YAML_FILE_ERROR 消息:需要批处理 yaml 定义。到处搜索,但一无所获。 完整错误: [Container] 2021/07/13 17:09:46
我正在尝试使用 CodeBuild 在 AWS 上构建我的项目。我已将此 buildspec 文件放在根目录中。 CodeBuild 能够读取文件,但无法继续进行。但是我在 CodeBuild 上遇到
我在 buildspec.yaml 文件中收到 YAML 错误。错误是: [Container] 2021/11/09 06:18:34 Waiting for agent ping [Contain
我是 AWS CodePipeline 新手,在 AWS CodeBuild 上遇到此错误 “YAML_FILE_ERROR 消息:容器标签数量错误,应为 1” 我已经为 aspnet core 2.
我尝试使用 AWS CodeBuild 构建 Docker 镜像 我遵循下面的 AWS 代码构建示例 https://docs.aws.amazon.com/codebuild/latest/user
我是一名优秀的程序员,十分优秀!