CI快照测试中的CDK Docker Asset失败资产指纹(Digest)
我在 github 操作上遇到了 CDK 测试问题,
对我的 cdk 堆栈进行了模板快照测试,该测试在本地通过,但在 github 操作上失败,因为本地生成的内容与 CI 环境中生成的内容之间存在 docker 映像资产哈希差异。检查了 github 工作区目录中的 docker 构建上下文,所有文件都是相同的 - 所以令人困惑的是为什么生成的哈希值不同?
I am running into an issue with CDK testing on github actions
Got a template snapshot test of my cdk stack that passes locally and fails on github actions because of a docker image asset hash diff between what is generated locally and what is generated in CI environment. Checked github workspace directory for the docker build context and all the files are the same - so It's confusing why the generated hash is different ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论