github.com/secure-build/gitlab-runner@v12.5.0+incompatible/docs/examples/gitlab.md (about) 1 # How to configure GitLab Runner for GitLab CE integration tests 2 3 We will register the Runner using a confined Docker executor. 4 5 The registration token can be found at `https://gitlab.com/project_namespace/project_name/runners`. 6 You can export it as a variable and run the command below as is: 7 8 ```bash 9 gitlab-runner register \ 10 --non-interactive \ 11 --url "https://gitlab.com" \ 12 --registration-token "$REGISTRATION_TOKEN" \ 13 --description "gitlab-ce-ruby-2.1" \ 14 --executor "docker" \ 15 --docker-image ruby:2.1 --docker-mysql latest \ 16 --docker-postgres latest --docker-redis latest 17 ``` 18 19 You now have a GitLab CE integration testing instance with bundle caching. 20 Push some commits to test it. 21 22 For [advanced configuration](../configuration/advanced-configuration.md), look into 23 `/etc/gitlab-runner/config.toml` and tune it.