The GitLab CI runs build jobs based on a checked in .gitlab-ci.yml. Jobs are run on a remote server in it's own docker container.
.gitlab-ci.yml
The CI server itself is configured with a config.toml.
config.toml