Sar*_*rit 10 linux gitlab gitlab-ci gitlab-ci-runner
我用它托管我的存储库gitlab.com并安装runner在DigitalOcean. 它一直运行到今天泰国时间 16March2019 14:24。
# gitlab-runner status
Runtime platform arch=amd64 os=linux pid=16937 revision=4745a6f3 version=11.8.0
gitlab-runner: Service is running!
# gitlab-runner unregister --all-runners
Runtime platform arch=amd64 os=linux pid=16299 revision=4745a6f3 version=11.8.0
Running in system-mode.
WARNING: Unregistering all runners
ERROR: Unregistering runner from GitLab forbidden runner=2bcd7af4
ERROR: Failed to unregister runner HerrRunner
# gitlab-runner list
Runtime platform arch=amd64 os=linux pid=16346 revision=4745a6f3 version=11.8.0
Listing configured runners ConfigFile=/etc/gitlab-runner/config.toml
HerrRunner Executor=shell Token=2bcd7af455f866ede7991992a68780 URL=https://gitlab.com/
# gitlab-runner --debug run
Runtime platform arch=amd64 os=linux pid=16395 revision=4745a6f3 version=11.8.0
Starting multi-runner from /etc/gitlab-runner/config.toml ... builds=0
Checking runtime mode GOOS=linux uid=0
Running in system-mode.
Configuration loaded builds=0
listenaddress: ""
sessionserver:
listenaddress: ""
advertiseaddress: ""
sessiontimeout: 1800
metricsserveraddress: ""
concurrent: 1
checkinterval: 0
loglevel: null
logformat: null
user: ""
runners:
- name: HerrRunner
limit: 0
outputlimit: 0
requestconcurrency: 0
runnercredentials:
url: https://gitlab.com/
token: 2bcd7af455f866ede7991992a68780
tlscafile: ""
tlscertfile: ""
tlskeyfile: ""
runnersettings:
executor: shell
buildsdir: ""
cachedir: ""
cloneurl: ""
environment: []
preclonescript: ""
prebuildscript: ""
postbuildscript: ""
shell: ""
ssh: null
docker: null
parallels: null
virtualbox: null
cache:
type: ""
path: ""
shared: false
s3: null
gcs: null
s3cachepath: ""
cacheshared: false
serveraddress: ""
accesskey: ""
secretkey: ""
bucketname: ""
bucketlocation: ""
insecure: false
machine: null
kubernetes: null
sentrydsn: null
modtime: 2018-08-12T18:07:07.963445119Z
loaded: true
builds=0
Waiting for stop signal builds=0
Listen address not defined, metrics server disabled builds=0
Listen address not defined, session server disabled builds=0
Starting worker builds=0 worker=0
Feeding runners to channel builds=0
Dialing: tcp gitlab.com:443 ...
ERROR: Checking for jobs... forbidden runner=2bcd7af4
Feeding runners to channel builds=0
ERROR: Checking for jobs... forbidden runner=2bcd7af4
Feeding runners to channel builds=0
ERROR: Checking for jobs... forbidden runner=2bcd7af4
ERROR: Runner https://gitlab.com/2bcd7af455f866ede7991992a68780 is not healthy and will be disabled!
Feeding runners to channel builds=0
Feeding runners to channel builds=0
Feeding runners to channel builds=0
^CWARNING: Requested service stop: interrupt builds=0
All workers stopped. Can exit now builds=0
Run Code Online (Sandbox Code Playgroud)
最终目标
让我的亚军再次奔跑
题:
是什么not healthy意思?
我无法取消注册我的跑步者。如何解决这个问题?
我第一次集成我的跑步者,任何熟悉 gitlab 的人都会知道这绝不是在公园散步那么简单。我花了很多时间追查这个错误消息,结果发现我完全找错了方向。
ERROR: Checking for jobs... forbidden runner=s3xBVnW8
ERROR: Checking for jobs... forbidden runner=s3xBVnW8
ERROR: Checking for jobs... forbidden runner=s3xBVnW8
ERROR: Runner https://gitlab.com/s3xBVnW8JZPTaocALN3i is not healthy and will be disabled!
Run Code Online (Sandbox Code Playgroud)
我现在相信我的跑步者告诉我 gitlab.com 上的“跑步者”不健康并且已被拒绝(被我的跑步者)。当我让它运行并放入管道作业时,它处理得很好,最后没有出现任何问题,我花了几个小时寻找任何东西!
| 归档时间: |
|
| 查看次数: |
12527 次 |
| 最近记录: |