Book Image

GitLab Cookbook

By : Jeroen van Baarsen
Book Image

GitLab Cookbook

By: Jeroen van Baarsen

Overview of this book

Table of Contents (16 chapters)
GitLab Cookbook
About the Author
About the Reviewers

Introduction to GitLab CI

GitLab CI is a continuous integration solution made by the same team that made GitLab. A CI system allows you to run automated unit tests on every commit, and will warn you when a build is not successful. It is also possible to have a healthy build deployed automatically.

Since the same team that created GitLab created GitLab CI, it has a super nice integration with the GitLab system itself, is a breeze to set up, and is fully integrated in the GitLab interface.

You don't need two different usernames, since the GitLab CI system will work with the API provided by GitLab. Via the API, it can check whether credentials are correct, and whether someone has the right access to certain projects.

The software requirements for GitLab CI are as follows:

  • Ubuntu 12.0.x or Debian/Linux

  • Ruby 1.9.3+

  • GitLab 6.3+

  • MySQL or PostgreSQL

The hardware requirements are as follows:

  • 1 GB of memory is recommended, though 512 MB will work

  • 2 CPU cores or more are recommended, though 1 CPU core will work...