gpt4 book ai didi

windows - Gitlab运行器: verify vs status

转载 作者:行者123 更新时间:2023-12-03 11:10:45 24 4
gpt4 key购买 nike

我有两个参赛者:一位在Linux上运行良好,但一位在Windows上运行,但我尝试解决了一些问题。为了知道运行者的当前状态,我使用两个命令:verifystatus。当我运行验证时:

>gitlab-runner.exe verify

输出:
Verifying runner... is alive                      ←[0;m  runner←[0;m=c6xxxxxx

当状态
>gitlab-runner.exe status

输出:
gitlab-runner: Service is not running.

问题

活着和运行之间有什么区别?

聚苯乙烯

这个问题不是关于为什么它不运行,而是关于了解状态。

gitlab-runner版本
Version:      10.6.0
Git revision: a3543a27
Git branch: 10-6-stable
GO version: go1.9.4
Built: 2018-03-22T08:34:34+00:00
OS/Arch: windows/amd64

最佳答案

gitlab-runner。 exe状态会告诉您服务是否正在运行。看来您已经用gitlab-runner.exe stop停止了它。

gitlab-runner.exe verify会告诉您您的运行者是否仍在注册到GitLab实例。如果您或其他人在GitLab CI/CD设置中将其删除,则Runner将不再存在。

关于windows - Gitlab运行器: verify vs status,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50250147/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com