Moon Light Box

Time is Money

GitLab - Install CI Runner in CentOS7

| Comments

Updated 2017-03-03

Step 1. Set Repository with RHEL/CentOS

# curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm.sh | sudo bash

# yum install gitlab-ci-multi-runner

Step 2. Register GitLab Runner.

# gitlab-ci-multi-runner register

(See GitLab - CI Runner Register x509 Error and GitLab - Register CI Runner)

Step 3. If you use GitLab Runner with Docker. (Must install docker first.)

# usermod -aG docker gitlab-runner
# su - gitlab-runner
# docker login 10.10.10.10:5000

https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-repository.md
https://docs.gitlab.com/ce/ci/docker/using_docker_images.html

Comments

comments powered by Disqus