柏树Gitlab CI/CD集成没有Docker遗嘱执行人?

发布于 2025-01-30 18:16:13 字数 212 浏览 1 评论 0原文

目前在我的团队项目中设置柏树,并试图在Gitlab管道中设置我们的测试。赛普拉斯(Cypress)在其上安装了所有需要的所有内容,但这只有在使用docker executor为gitlab跑步者时起作用。我的组织不允许引用安全问题,因此我们将外壳执行人用于所有内容。还有其他人有这样的问题吗?一直在研究几天,我唯一能想到的就是使用kubernetes遗嘱执行人,并以某种方式进行了测试。

谢谢你!

Currently setting up Cypress in my teams project and am trying to set up our tests in our gitlab pipelines. Cypress has docker images with everything you need installed on it, but that only works if you use a docker executor for your gitlab runner. My organization does not allow that citing security issues, so we use a shell executor for everything. Has anyone else had an issue like this? Been researching for a few days and the only thing I can think of is using the kubernetes executor and somehow run the tests with that.

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

两人的回忆 2025-02-06 18:16:13

对于稍后会遇到的任何人,我们为解决的方法是在跑步者上安装Docker,并构建了运行测试的Docker映像。

For anyone that will come across this later, what we did to solve this was install docker on the runners and build a docker image that runs the tests.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文