Professional Documents
Culture Documents
• Mattermost
• Issue tracker
• Issue Board
• GitLab CI
GitLab CI/CD is a powerful tool built into GitLab that allows you to apply all
the continuous methods (Continuous Integration, Delivery, and Deployment)
to your software with no third-party application or integration needed.
What is CI/CD pipeline
Gitlab CI/CD Architecture
Why Gitlab CI/CD
https://about.gitlab.com/blog/2016/10/17/gitlab-ci-oohlala/
https://about.gitlab.com/blog/2019/04/25/5-teams-that-
made-the-switch-to-gitlab-ci-cd/
What are the advantages of GitLab CI/CD?
•Open source: CI/CD is a part of both the open source GitLab Community Edition and
the proprietary GitLab Enterprise Edition
•Easy to learn
•Seamless: Part of the single GitLab application, with a single great user experience
•Scalable: Tests run distributed on separate machines of which you can add as many
as you want
•Faster results: Each build can be split in multiple jobs that run in parallel on multiple
machines
selfhosted –> full control over workspaces overhead for small projects as you have to setup by
yourself
easier debugging of runners hence full workspace complicated plugin integration
control
very good management of credentials. new pipeline for every environment (e.g.
Production/Testing)
big plugin library
Gitlab Project.
Runner for this Gitlab project.
Let’s go …
Gitlab YML file.
…
Starting….
In this file, you can define the scripts you want to run, define include and
cache dependencies, choose commands you want to run in sequence and
those you want to run in parallel, define where you want to deploy your app,
and specify whether you will want to run the scripts automatically or trigger
any of them manually. Once you’re familiar with GitLab CI/CD you can add
more advanced steps into the configuration file.
To add scripts to that file, you’ll need to organize them in a sequence that suits
your application and are in accordance with the tests you wish to perform. To
visualize the process, imagine that all the scripts you add to the configuration
file are the same as the commands you run on a terminal on your computer.
Once you’ve added your .gitlab-ci.yml configuration file to your repository,
GitLab will detect it and run your scripts with the tool called GitLab Runner,
which works similarly to your terminal.
The scripts are grouped into jobs, and together they compose a pipeline.
What is Gitlab Runner ?
GitLab Runner is the open source project that is used to run your jobs
and send the results back to GitLab. It is used in conjunction
with GitLab CI, the open-source continuous integration service
included with GitLab that coordinates the jobs.