====== 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 [[https://docs.gitlab.com/runner/install/linux-repository.html|Source]] ===== 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 [[https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository|Source]] ===== Register specific gitlab-runner ===== - Get your project specific runner token (%%https://git.computational.bio.uni-giessen.de///settings/ci_cd%%) - sudo gitlab-runner register (it will ask you for url, token, executor, etc. )