Skip to content

gitlab-runner installation on mac OS having status Never on gitlab server

Hi I installed new gitlab-runner on macOS High Sierra Version 10.13.6. Steps are given below. Everything worked fine i.e. registration, token, etc. I also got the runner in my local gitlab server. However when I go to Runners section in admin area on gitlab server, it shows Last contact Never. I searched online but no luck. It is also not taking any job and seems offline. How can I bring it online so that its status is updated every second like other runners. Windows and Linux runners are working fine.

I created a new user on mac with sudo permissions. I logged in as that user and ran the following commands. sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64

sudo chmod +x /usr/local/bin/gitlab-runner

sudo gitlab-runner register

cd

gitlab-runner install

gitlab-runner start

gitlab-runner status

and the output was gitlab-runner: service is running.

Edited by Mian Asbat Ahmad