Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gitlab Cookbook

You're reading from   Gitlab Cookbook Over 60 hands-on recipes to efficiently self-host your own Git repository using GitLab

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783986842
Length 172 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jeroen van Baarsen Jeroen van Baarsen
Author Profile Icon Jeroen van Baarsen
Jeroen van Baarsen
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction and Installation 2. Explaining Git FREE CHAPTER 3. Managing Users, Groups, and Permissions 4. Issue Tracker and Wiki 5. Maintaining Your GitLab Instance 6. Webhooks, External Services, and the API 7. Using LDAP and OmniAuth Providers 8. GitLab CI A. Tips and Tricks Index

Installing the coordinator


The coordinator is the heart of the GitLab CI system. This will let you see all the builds in a web interface, and it will also control the runners, which we will add later. The coordinator doesn't execute any builds. For the purpose of building, we will use decoupled runners. In this recipe, we will install the coordinator, and in the recipe, Installing a runner, we will install the runner to run our tests.

How to do it…

In the following steps, we will install the CI coordinator:

  1. Log in via SSH to your CI server.

  2. Go to the gitlab_ci home folder:

    $ cd /home/gitlab_ci/
    
  3. Download the source code for the CI server:

    $ sudo -u gitlab_ci -H git clone https://gitlab.com/gitlab-org/gitlab-ci.git
    $ cd gitlab-ci
    $ sudo -u gitlab_ci -H git checkout 5-0-stable
    
  4. Now we have the source code, it's time to configure the server. Start by copying the example config file:

    $ sudo -u gitlab_ci -H cp config/application.yml.example config/application.yml
    
  5. Now, we edit the file to match our...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime