Gitlab Runner on Termux

I trying to use gitlab runner on termux with no root so therefore no sudo so therefore in user-mode.

~ $ ./gitlab-runner register --url https://MY_GITLAB_INSTANCE/git --token MY_TOKEN

And getting error

Enter the GitLab instance URL (for example,

[https://MY_GITLAB_INSTANCE/git]: ERROR: Verifying runner… failed runner=xxxxxxxxx status=couldn’t execute POST against https://MY_GITLAB_INSTANCE/git/api/v4/runners/verify: Post “https://MY_GITLAB_INSTANCE/git/api/v4/runners/verify”: dial tcp: lookup on [::1]:53: read udp [::1]:42712->[::1]:53: read: connection refused PANIC: Failed to verify the runner.

interesting… i too planning to use runner on debian proot-distro. do you mind steps taken for installing & configuring runner…

1 Like

I just followed the instructions from within our gitlab instance.

First run termux-chroot, then gitlab-runner. That’s how I got it working.

1 Like