cloud:gitlab-runner
Table of Contents
Example Installation of a gitlab runner
- Create a Ubuntu VM (it does not need a floating IP)
- Connect to your VM
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh |\ sudo bash
- sudo apt-get install gitlab-runner
Install Docker if you want to use docker
sudo apt-get update
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
sudo apt-get update
sudo apt-get install docker-ce
- check your installaton with:
sudo docker run hello-world
Register specific gitlab-runner
- Get your project specific runner token (https://git.computational.bio.uni-giessen.de/<YourTeam>/<YourProject>/settings/ci_cd)
- sudo gitlab-runner register (it will ask you for url, token, executor, etc. )
cloud/gitlab-runner.txt · Last modified: 2018/03/08 14:31 by rmueller