Alexander Karpov
Alexander Karpov

Reputation: 580

How to run gitlab-runner locally

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

Upvotes: 8

Views: 7993

Answers (1)

Jeromearsene
Jeromearsene

Reputation: 177

Instead of shell command, try to use docker:

gitlab-runner --debug exec docker lint_project

For me it's good.

Upvotes: 10

Related Questions