Gitlab and Continuous Integration
Gitlab now offers the ability to do continuous integration tests on each push, using a specially created machine (usually a cloud vm) called a runner.
- Here is a locally written DoC-GitLab-Ci-Tutorial about the whole process of setting up Gitlab CI, including creating and configuring a Gitlab runner, using a small locally written webapp.
- This web app is called https://runner-creator.doc.ic.ac.uk. This will create the gitlab runner VM (in our private cloud), set it up for running gitlab-ci tests, and configure the Runner and Gitlab to talk to each other. The VM is produced from a template that includes the necessary software (gitlab-ci-multi-runner), and gives sudo access for the vm user/creator.
- To use runner-creator, all you do is enter your DoC login, password, and a name for the VM.
You can find a general Gitlab guide on how CI works in Gitlab here: https://about.gitlab.com/gitlab-ci/