Register gitlab-runner

By | February 14, 2020

sudo gitlab-runner register

#Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://localhost:7777/

#via web browser client buka halaman admin/runner, kemudian copy tokennya, dan paste di proses terminal
MxqyTnrizAiHcRCAAoKz

#Please enter the gitlab-ci description for this runner:
# isi sembarang, misal gitlab-runner
[gitlab]: gitlab-runner

#Please enter the gitlab-ci tags for this runner (comma separated):
# ntar bisa diganti dari UI
my-tag,another-tag

#https://docs.gitlab.com/runner/executors/README.html
#Please enter the executor: kubernetes, docker, ssh, docker+machine, shell, virtualbox, docker-ssh+machine, custom, docker-ssh, parallels:
shell

#harusnya di http://ip-git-lab/admin/runners telah tampil runner-nya