Files
tldr/pages.tr/common/gitlab-runner.md
2022-10-31 06:52:35 -03:00

29 lines
795 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gitlab-runner
> GitLab koşucuları için CLI aracı.
> Daha fazla bilgi için: <https://docs.gitlab.com/runner/>.
- Bir koşucuyu kayıt ettir:
`sudo gitlab-runner register --url {{https://gitlab.ornek.com}} --registration-token {{token}} --name {{isim}}`
- Bir koşucuyu Docker çalıştırıcısıyla kayı ettir:
`sudo gitlab-runner register --url {{https://gitlab.ornek.com}} --registration-token {{token}} --name {{isim}} --executor {{docker}}`
- Bir koşucunun kaydını geri al:
`sudo gitlab-runner unregister --name {{isim}}`
- Koşucu servisinin durumunu görüntüle:
`sudo gitlab-runner status`
- Koşucu servisini yeniden başlat:
`sudo gitlab-runner restart`
- Kayıt edilen koşucuların GitLab'e bağlanabilme durumlarını kontrol et:
`sudo gitlab-runner verify`