2017-01-09 2 views
3

, 나는 주자에서 빌드를 시작하고 싶지만, 나는이 메시지 :GitLab CI이 러너가 빌드를하지 않는 이유는 무엇입니까? 나는 새로운 커밋을 누르면

이 빌드가 붙어 당신은 이들의 온라인 활성 주자가 없기 때문에 자신에게 할당 된 태그 : 이동 주자 페이지

내가 GitLab 8.15.2 설치

dev에.

project1: 
    tags: 
    - dev 
    script: 
    - make 
    - ./test 

(I 태그를 제거하면, 내가 할 거의 동일한 메시지)

내가 만든 :

나는 C,는 ".gitlab-ci.yml"파일의 기본 프로젝트를 생성 특정 주자 :

[email protected]:~# 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! 
[email protected]:~# gitlab-ci-multi-runner verify 
Running in system -mode. 

Verifying runner... is alive      runner=XXX 

On/admin/runners에서 볼 수 있습니다.

이 서비스를 시작 gitlab-ci-multi-runner start을 실행하거나 gitlab-ci-multi-runner run 터미널에서 직접 실행 : 나는 내가 부족 이해하지

...

+2

러너를 시작 했습니까? 'gitlab-ci-multi-runner start' 또는'gitlab-ci-multi-runner run' – oLen

+0

아니요 ...'gitlab-ci-multi-runner run'은 빌드가 작동하도록 만들어줍니다. – julien2313

+0

니스! 나는 이것을 답으로 써 놓을 것이다. – oLen

답변

7

당신은 여전히 ​​주자를 시작해야합니다.

+0

두 대의 컴퓨터에 둘 다 아직 아무것도 없다 :) –

+0

제 경우에는 'gitlab-ci-multi-runner stop'과 'gitlab-ci-multi-runner start'가 도움이되었습니다. – Apoc