Chapter 8. GitLab CI

In this chapter, we will cover the following recipes:

  • Installing the dependencies
  • Installing the coordinator
  • Installing the web server
  • Installing a runner
  • Linking your first project to GitLab CI
  • Creating a build script
  • Using GitLab CI webhooks

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 ...

Get GitLab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.