Reputation: 909
I have a Gitlab server from the company where the project and the pipeline are configured. By default, every time a commit is done, the pipeline starts to execute in the Gitlab server.
I have my personalized VM, which is completely different from Gitlab. I want that the pipeline will be executed in my personalized VM instead of the Gitlab server. What should I do so that the pipeline runs on the VM and not on the Gitlab server?
I have configured the following runner in config.toml
that is located in $MYPROJECT/
:
[[runners]]
name = "Project-name"
url = "https://gitlab.server/"
token = "TOKEN ID"
executor = "shell"
shell = "bash"
There are things that I don't understand.
config.toml
file every time there is a commit?docker
or shell
, to execute the pipeline in the VM?[1] https://docs.gitlab.com/runner/install/linux-manually.html
[2] https://docs.gitlab.com/runner/register/#registering-runners
Upvotes: 0
Views: 660
Reputation: 6164
docker
if you want to use docker in your VM (which needs to be installed before there). Otherwise use shell
.Upvotes: 1