在系统模式下配置 GitLab 运行器时,服务无法启动,但在用户模式下服务运行良好。
在 GitLab 运行程序文档中,他们没有介绍目的 https://docs.gitlab.com/runner/commands/#super-user-permission
我理解的唯一区别是路径:
用户模式 = /Users/ayufan/.gitlab-runner/config.toml
系统模式 = /etc/gitlab-runner/config.toml
任何人都可以解释一下系统模式如何影响结果。
更新:我没有从 gitlab 论坛得到答案,但我在这里阅读了一些注释https://medium.com/static-object/how-to-set-up-gitlab-ci-for-ios-in-a-few- relative-simple-steps-56a0d88d0272,我了解到这是他们大多数人面临的问题。