指定了 runner之后,job仍然处于pendding状态

来源:12-3 搭建GitLab CI服务器和Pipeline演示

慕姐3337517

2018-08-04

http://img.mukewang.com/szimg/5b659cff0001f75914460376.jpghttp://img.mukewang.com/szimg/5b659d6e0001469f24002054.jpghttp://img.mukewang.com/szimg/5b659d2d0001ab0324002054.jpg

写回答

6回答

麦兜搞IT

2018-08-05

我看您的文件没有问题应该。有点奇怪,你的gitlab服务器和runner服务器之间没有防火墙之类的吧

0
14
慕姐3337517
回复
麦兜搞IT
gitlab 下的配置也有 [vagrant@gitlab gitlab]$ sudo more gitlab.rb ## GitLab configuration settings ##! This file is generated during initial installation and **is not** modified ##! during upgrades. ##! Check out the latest version of this file to know about the different ##! settings that can be configured by this file, which may be found at: ##! https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/files/gitlab-config-template/gitlab.rb.template ## GitLab URL ##! URL on which GitLab will be reachable. ##! For more details on configuring external_url see: ##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab external_url 'http://gitlab.example.com'
2018-08-06
共14条回复

麦兜搞IT

2018-08-05

然后把debug的信息贴出我看一下

0
4
慕姐3337517
回复
麦兜搞IT
This job has not started yet This job is in pending state and is waiting to be picked by a runner
2018-08-05
共4条回复

麦兜搞IT

2018-08-05

开开debug追踪一下,看看有什么错误信息吧

job_name:

  variables:

    CI_DEBUG_TRACE: "true"

具体用法您可以打开https://docs.gitlab.com/ee/ci/variables/  然后search CI_DEBUG_TRACE

0
0

慕姐3337517

提问者

2018-08-04

//img.mukewang.com/szimg/5b65c1c800019c8815220878.jpg注册的是shell的runner
0
0

麦兜搞IT

2018-08-04

您注册的是一个gitlab shell的runner 么 

0
2
慕姐3337517
请问有什么不对的地方吗
2018-08-05
共2条回复

慕姐3337517

提问者

2018-08-04

我指定了runner,为什么还说没有指定呢?//img.mukewang.com/szimg/5b659f1c0001669617801278.jpg

0
0

系统学习Docker 践行DevOps理念

无论你是开发、测试还是运维,Docker都是你的必备技能。

3297 学习 · 1895 问题

查看课程