Gitlab管道工作花费太长

发布于 2025-02-11 06:45:27 字数 251 浏览 2 评论 0原文

通常,在我的项目管道工作中,用于测试的工作需要大约20分钟(GitLab跑步者)才能完成Gitlab,并且(MacOS本地2分钟)。大约2个月前,没有理由运行这项工作的问题(完全没有代码的更改),该作业花费了59分钟以上,并且由Gitlab自动取消。

然后,我花时间使用Docker在本地gitlabrunner上运行它,而且效果很好。经过几天的调查,当我运行了同一条管道时,它就取得了成功,这就是自上周以来。现在,我再也无法运行管道,因为作业只是悬挂一个小时,然后被取消。

Normally in my project pipeline job for tests takes about 20min (gitlab runners) to finish on gitlab, and (2min locally on macOS). Something about 2 months ago there where a problem with running this job with no reason (no change in the code at all), the job took over 59min and it was automatically canceled by gitlab.

Then I spend a time to run it on locally gitlabrunner using docker, and It worked fine. After few days of investigation when I ran the same pipeline it just finish with success and it was like that since last week. Now again I cannot run pipeline because job is just hanging for an hour and then it is canceled.

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

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

发布评论

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