NizarETH
NizarETH

Reputation: 1009

install GitLab on a server running Windows 7

I need to install GitLab on a server running Windows 7, but I'm blocked at this line. The documentation doesn't really helping me. The following is from my command prompt:

C:\GitLab-Runner>gitlab-runner.exe register
Please enter gitlab-ci coordinator URL (e.g. https://gitlab.com/):
https://gitlab.com
Please enter the gitlab-ci token for this runner:

Where can I find this token?

Upvotes: 4

Views: 11800

Answers (1)

Andre Kampling
Andre Kampling

Reputation: 5631

You're attempting to install the GitLab Runner which is used to run your jobs and send the results to a GitLab which is a server. As you're talking about GitLab running at a server you have to install that and not the Runner.

But it is not supported to install GitLab on Windows, see here in the GitLab forum. They recommend to use Linux in a virtual machine for that if you want it on Windows.

In all seriousness this is something that will probably never be supported.


Nevertheless to get the needed project registration token follow these steps described here. Also there is a discussion about it on GitHub.

To create a specific Runner without having admin rights to the GitLab instance, visit the project you want to make the Runner work for in GitLab:

  1. Go to Settings ➔ Pipelines to obtain the token
  2. Register the Runner

Further the process of registering the GitLab Runner which is actually what you're doing is described here.

Upvotes: 6

Related Questions