gitlab ci shell运行程序报告配置文件加载问题

时间:2020-09-08 13:11:44

标签: gitlab-ci-runner

我正在尝试设置gitlab ci shell运行程序。我之前已经成功使用了dockerRunner,但是现在我想在测试例程中使用另一个docker容器,因此切换到了shell Runner。 注册后,我遇到了异常:

ERROR: Job failed (system failure): prepare environment: exit status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information 

因此,我浏览了链接的材料,但是并不能解决问题。现在,我验证了gitlab-runner用户存在,并且可以访问docker(需要运行docker测试容器)。 gitlab-runner用户也是docker组的一部分。我也可以--login,启动/bin/bash,没有问题。

不过,我从跑步者那边得到的只是上面的神秘信息。为了追踪这个问题,我还需要进行其他哪些检查?

1 个答案:

答案 0 :(得分:0)

细心的读者会找到答案:

”常见的故障是当您尝试清除.bash_logout时 控制台。”