Shared Runner connection

I am new to GitLab, so I have a few questions regarding Runners.
I’m sorry if this question seems stupid or was asked before :slight_smile:

So my question about Shared Runners. How does it connects to my host where my pipeline runs? Or for that matter, how does self-hosted runner connects to host, if runner deployed on another host?


Depending on what method you use, this is all explained in the documentation: Install GitLab Runner manually on GNU/Linux | GitLab

You have to register the runner with your Gitlab instance, this is the connection. When it sees a change made to the project, then the CI/CD will then run.