CI快照测试中的CDK Docker Asset失败资产指纹(Digest)

发布于 2025-01-19 20:49:49 字数 193 浏览 3 评论 0原文

我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文