Using GitLab CI

In the previous sections of this chapter, we learned how to create CI/CD pipelines with Jenkins and Azure Pipelines.

Now let's look at a lab using another DevOps tool that is gaining popularity: GitLab CI.

GitLab CI is one of the services offered by GitLab (https://about.gitlab.com/), which, like Azure DevOps, is a cloud platform with the following:

  • A source code manager
  • A CI/CD pipeline manager
  • A board for project management

 The other services it offers are listed here: https://about.gitlab.com/features/.

GitLab has a free price model with additional services that are subject to a charge; the price grid is available at https://about.gitlab.com/pricing/ and is shown as follows:

This table highlights the differences between Azure DevOps and GitLab: https://about.gitlab.com/devops-tools/azure-devops-vs-gitlab.html.

In this lab, we'll see the following:

  1. Authentication at GitLab
  2. Creating a new project and versioning its code in GitLab
  3. The creation and execution of a CI pipeline in GitLab CI
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.192.3