Gitlab-Runner 服务在 windows 中不工作

Gitlab-Runner service not working in windows

我开始使用 gitlab CI。

我正在使用 Windows7。我注册了我的 GitlabRunner,但是当我尝试安装它时,我遇到了这个问题:

←[0;33mWARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases←[0;m
←[31;1mFATAL: Failed to start gitlab-runner: The specified service does not exist as an installed service.←[0;m

你能帮帮我吗?谢谢 :)

抱歉,如果我帮不了你。这个问题似乎发生在 Windows and Linux as well.

我还在终端中收到以下消息:

Setting up gitlab-runner (10.0.0) ... GitLab Runner: creating gitlab-runner... WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases gitlab-runner: Service is not running. WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases gitlab-ci-multi-runner: Service is not running. WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases

我找到了解决方案,该服务是由本地系统用户启动的,没有在 PATH 中添加 Windows\system32。 我将启动该服务的用户更改为会话的 %username%,它有效:)