2017-01-09 13 views
3

私は新しいコミットを押すと、私はランナーからのビルドを開始したいと思いますが、私はこのメッセージが表示されます。GitLab CIなぜこのランナーはビルドを行っていないのですか?

あなたはこれらのいずれかでオンラインアクティブなランナーを持っていないので、このビルドは、スタックしていますそれらに割り当てられたタグ:私はGitLab 8.15.2をインストールし

ランナーページへ

Go]をdevの。

私はC、 ".gitlab-ci.yml" ファイル内の基本的なプロジェクトを作成しました:

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

(私はタグを削除した場合、私はほとんど同じメッセージが表示されます)

私が作成し特定のランナー:

[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 

オン/管理者/ランナー、私はそれを見ることができます。私はあなたがまだランナーを開始する必要が...私は欠けているものを

+2

ランナーを始めましたか? 'gitlab-ci-multi-runner start'または' gitlab-ci-multi-runner run' – oLen

+0

いいえ... 'gitlab-ci-multi-runner run'はビルド作業を行います。 – julien2313

+0

ニース!私はこれを答えにします。 – oLen

答えて

7

を理解していない

の端末で直接それを実行するためのサービス、またはgitlab-ci-multi-runner runを開始するgitlab-ci-multi-runner startを実行します。

+0

2台のコンピュータの両方にまだ何も持っていない:) –

+0

私の場合、 'gitlab-ci-multi-runner stop'と 'gitlab-ci-multi-runner start'が助けになりました。 – Apoc

関連する問題