Skip to content

Instantly share code, notes, and snippets.

@vgoma
Created July 31, 2017 11:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save vgoma/84691dceaa5fed83d6682bf8ccd26ac1 to your computer and use it in GitHub Desktop.
Save vgoma/84691dceaa5fed83d6682bf8ccd26ac1 to your computer and use it in GitHub Desktop.
Регистрация gitlab runner'а

Регистрация gitlab runner'а

Первоисточник

Регистрируя runner потребуется информация об url'е, на котором работает gitlab и токен конкретного проекта. Получить ее можно в разделе проекта Settings -> Pipelines.

Регистрация runner'а с локальной машины:

gitlab-runner register \
--url="http://gitlab.example.com/" \
--registration-token="xxxxxxxxxxxxxxxxxx"

Регистрация runner'а из-под docker сервиса:

docker exec -it gitlab-runner gitlab-runner register

Удаление runner'а

Смотрим список зарегистрированных runner'ов:

gitlab-runner list

Удаляем:

gitlab-runner unregister -u http://gitlab.example.com/ -t yyyyyyyyyyyyyyy

Где yyyyyyyyyyyyyyy токен конкретного runner'a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment