GitLab service or you can run them on your own build host. More information can be found here.
.gitlab-ci.yml to the top level of the repository. The following example is a good starting point:
Please note that:
- Commands from the repository can be used in <shell_line> if they are preceded with
- If you need to install additional packages use
yum install -y <some_package>in the the
- The runner for each job is selected through the
tags. To use the public shared runner use the tag
root on your host:
on your host and give the following answers:
- gitlab-ci coordinator URL:
- gitlab-ci token for this runner: The token that can be found for Specific Runners in the Runners settings.
- shell or a docker image: If you build host has the build environment installed then you can use
root on your host to restart the runner service:
To use your runner for a project follow the above instructions for shared runners but select the registered runner under Specific Runners. We also recommend to disable the shared runners in the Runner settings of the project make sure only your runners match the tags of the jobs.