You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Current Gitlab Runner setup (T287279)
In WMCS there is a project
gitlab-runners to host a set of shared GitLab runners. Currently the runners are installed and configured with Ansible playbook. To add runners, add the hosts to
[gitlab_runners] section of 'hosts' file. Then run the Ansible Playbook for gitlab-runners. The command is wrapped in
There are efforts to move all of the installation and configuration to puppet: T287279#7237735.
Future Gitlab Runner setup (T286958)
This section contains the requirements and plan for a future Gitlab-Runner setup. The goal is to find a secure, scalable and easy to build and maintain setup for the GitLab Runner infrastructure.
GitLab Runner can run on various platforms, such as Kubernetes, Docker, OpenShift or just Linux VMs. Furthermore a wide range of compute platforms can be leveraged, such as WMCS, Ganetti, bare metal hosts or public clouds. So this section tries to compare the different options and collect advantages and disadvantages. Privacy considerations can be found in the next section.
Whether these can safely run on a third-party platform
Monitoring of performance and usage
Gitlab-Runner export Prometheus metrics. This metrics should give insights in performance and usage. See Monitoring Gitlab Runner documentation.
However the Gitlab Runner exporter does not support authorization or https. So depending on where the Runners are hosted, a https proxy with authorization is required.