Nagarjuna D N
Nagarjuna D N

Reputation: 561

Is it compulsory to set up Gitlab server and a Gitlab runner configured?

As per the Gitlab CI(version 8.0) documentations and blogs I was red I came to the conclusion that I need to setup Gitlab server and a Gitlab runner on VM/docker etc. Correct me if I am wrong

I am very new to continuous integration concept. Please anyone let me know is it compulsory to setup Runner on Virtual Machine or do we have any alternative way to use Gitlab CI without Runner. Sorry if this question is silly.

Please guide me from where would I start if anyone have the nice documentation to setup and use Gitlab CI end to end. Thanks and very much appreciated.

Upvotes: 0

Views: 3011

Answers (1)

Yan Foto
Yan Foto

Reputation: 11378

tl;dr

No you don't need to setup your own VM to use Runners (specific Runners). GitLab also provides shared Runners, which can be used by anyone. Read about the difference here.


There are four short steps to use GitLab Runners:

  1. Enable a shared Runner tagged with docker under Project > Runners
  2. Specify a regular expression under Project > CI/CD Pipelines > Test coverage parsing to filter coverage from console output
  3. Create a docker image containing everything needed to build and test your project
  4. Create .gitlab-ci.yml in your project’s root and define how testing/coverage is to be done

You can see some examples here. (disclaimer: article is written by me)

Upvotes: 1

Related Questions