gitlab ci shell runner 报告配置文件加载问题
gitlab ci shell runner reports profile loading problem
我正在尝试设置 gitlab ci shell 运行ner。我之前成功地使用了 docker 运行ner 但现在我想在我的测试例程中使用另一个 docker 容器,因此切换到 shell 运行纳尔。
注册后我 运行 遇到异常:
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
因此,我查看了链接 material,但这并没有解决问题。现在,我验证了 gitlab-运行ner 用户存在并且它可以访问 docker(需要 运行 docker 测试容器)。 gitlab-运行ner 用户也是 docker 组的一部分。我也可以 --login
,毫无问题地启动 /bin/bash
。
不过,我从 运行 那边得到的只是上面那条神秘的信息。我还需要做哪些其他检查来查明此问题?
细心的reader会找到答案:
"A common failure is when you have a .bash_logout that tries to clear
the console."
我正在尝试设置 gitlab ci shell 运行ner。我之前成功地使用了 docker 运行ner 但现在我想在我的测试例程中使用另一个 docker 容器,因此切换到 shell 运行纳尔。 注册后我 运行 遇到异常:
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
因此,我查看了链接 material,但这并没有解决问题。现在,我验证了 gitlab-运行ner 用户存在并且它可以访问 docker(需要 运行 docker 测试容器)。 gitlab-运行ner 用户也是 docker 组的一部分。我也可以 --login
,毫无问题地启动 /bin/bash
。
不过,我从 运行 那边得到的只是上面那条神秘的信息。我还需要做哪些其他检查来查明此问题?
细心的reader会找到答案:
"A common failure is when you have a .bash_logout that tries to clear the console."