gitlab CI带有单独的后端和前端存储库
我有单独的后端和前端存储库。 后端由另一个前端使用,因此我无法将其与此特定前端合并。 后端取决于运行MySQL的Docker容器。 前端取决于后端。
我想使用赛普拉斯进行E2E测试,并使用运行后端,Frontend和MySQL的Docker在本地设置和运行所有内容。 但是,此设置在GitLab CI上无法正常工作。 我已经在gitlab-ci.yml
中重新创建了环境,但是在某个时候,它尖叫着没有足够的内存并且失败了。
我还能测试在不同存储库中具有前端和后端的应用程序? 最好是没有docker,如果我需要本地的mysql db,最好没有docker。
I've got separate repos for backend and frontend.
Backend is used by another frontends so I cannot merge it with this particular frontend.
Backend is dependant on docker container running mysql.
Frontend depends on backend.
I want to do E2E testing using Cypress and I have everything set up and running locally using docker that runs backend, frontend and mysql.
However this setup does not work properly on Gitlab CI.
I've recreated the environment in gitlab-ci.yml
but at some point it screams that there is not enough memory and it fails.
How else can I test my app that has frontend and backend on different repos?
Preferably without docker if at all possible since I need a local mysql DB.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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