没有Docker的Gitlab运行器
我已经在ubuntu 16.04上安装了gitlab-runner
I've installed gitlab-runner on ubuntu 16.04
我设置了Executor = shell
I've set Executor=shell
我的项目通过一个非常简单的yaml配置文件托管在gitlab.com上:
My project is hosted on gitlab.com with a very simple yaml config file :
dev:
script:
- pwd
我暂时不不愿意使用Docker
I am not willing to user Docker for the moment
为什么作业日志中提到docker?
将Docker executor与image ruby:2.5 ...一起使用
Using Docker executor with image ruby:2.5 ...
拉起docker图像ruby:2.5 ...
Pulling docker image ruby:2.5 ...
使用docker image ... for ruby:2.5 ...
Using docker image ... for ruby:2.5 ...
为什么在执行pwd时提到了一条不存在的路径?
$ pwd
/builds/my_gitlab_name/my_project_name
@Sam Hartman是对的,我的跑步者不是负责这份工作日志的人.
@Sam Hartman is right my runner was not the one responsible for the job's log.
我必须停用共享运行程序才能看到运行程序.
I had to deactivate Shared Runners in order to see my runner running.
如果您需要这样做,只需转到
If you need to do this simply go to
设置-> CI/CD->展开Runners->并在右窗格中为该项目的"Disable Shared Runner"添加共享的运行器
Settings -> CI / CD -> expand Runners -> and on the right pane names Shared runners clic on "Disable Shared Runner" for this project