【发布时间】:2019-11-21 23:08:59
【问题描述】:
我安装了一个Specific Runners,状态是actived。
我的 .gitlab-ci.ymi 文件代码:
stages:
- build
build_maven:
stage: build
only:
- master
script:
- echo "hello CI/CD"
tags:
- vue-dev-pub
当我推送主分支时,gitlab-runner 正在运行,但它无限等待。
工作页面显示:
此作业尚未开始
此作业处于待处理状态,等待运行者选择
如果我手动执行运行器,工作可以通过。
gitlab-runner verify 命令显示:
Runtime platform arch=amd64 os=linux pid=24616 revision=d0b76032 version=12.0.2
WARNING: Running in user-mode.
WARNING: The user-mode requires you to manually start builds processing:
WARNING: $ gitlab-runner run
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner...
Verifying runner... is alive runner=T4iKvsT3
等你回复,谢谢!
【问题讨论】:
标签: gitlab gitlab-ci gitlab-ci-runner