How to run gitlab-runner locally

Viewed 3217

How to run gitlab-runner locally on macOs?

Hi, I would like to run gitlab-runner locally. I have gitlab-runner on my mac and I have gitlab-ci.yml. On CI gitlab-runner works as I expect, but it's not working when I call it from terminal.

gitlab-runner --debug exec shell lint_project

Output from terminal enter image description here

one of the question is why "executor not supported"?

Thank you

1 Answers

Instead of shell command, try to use docker:

gitlab-runner --debug exec docker lint_project

For me it's good.

Related