How to configure GitLab Runner for GitLab CE integration tests

We will register the Runner using a confined Docker executor.

The registration token can be found at You can export it as a variable and run the command below as is:

gitlab-runner register \
--non-interactive \
--url "" \
--registration-token "$REGISTRATION_TOKEN" \
--description "gitlab-ce-ruby-2.6" \
--executor "docker" \
--docker-image ruby:2.6 --docker-mysql latest \
--docker-services latest --docker-redis latest

You now have a GitLab CE integration testing instance with bundle caching. Push some commits to test it.

For advanced configuration, look into /etc/gitlab-runner/config.toml and tune it.