GitLab CI为什么这个跑步者没有进行构建?

jul*_*313 6 git gitlab-ci gitlab-ci-runner

当我推送一个新的提交时,我想从跑步者开始构建,但我得到这个消息:

这个版本卡住了,因为你没有在线任何活跃的跑步者,他们分配了这些标签:dev

转到"跑步者"页面

我安装了GitLab 8.15.2.

我在C中创建了一个基本项目,一个".gitlab-ci.yml"文件:

project1:
  tags:
    - dev
  script:
    - make
    - ./test
Run Code Online (Sandbox Code Playgroud)

(如果我删除标签,我会得到几乎相同的消息)

我创建了一个特定的跑步者

root@debian:~# gitlab-ci-multi-runner register
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
  http://127.0.0.1
Please enter the gitlab-ci token for this runner:
  XXX
Please enter the gitlab-ci description for this runner:
  [debian]: p1
Please enter the gitlab-ci tags for this runner (comma separated):
  dev
Registering runner... succeeded                     runner=XXX
Please enter the executor: kubernetes, docker, parallels, ssh, docker+machine, docker-ssh, shell, virtualbox, docker-ssh+machine:
  shell
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
root@debian:~# gitlab-ci-multi-runner verify
Running in system -mode.

Verifying runner... is alive                        runner=XXX
Run Code Online (Sandbox Code Playgroud)

在/ admin/runners上,我可以看到它.

我不明白我错过了什么......

oLe*_*Len 12

你仍然需要开始跑步者:

执行gitlab-ci-multi-runner start以启动服务,或gitlab-ci-multi-runner run直接在终端中运行它.