From Wikiversity
Jump to navigation Jump to search

GitLab is a web-based DevOps lifecycle software service or locally installed that provides a Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license.

Since April 2018, GitLab support integration with Google Kubernetes Engine (GKE) to simplify the process of spinning up a new Kubernetes cluster and deploy applications.

GitLab provides a Prometheus integration guide to export GitLab metrics to Prometheus monitoring system[1] and it is activated by default since version 9.0 in 2017.[2]

GitLab is integrated of different modules including GitLab Runner[3] (.gitlab-ci.yml) responsible for the continuous integration[4] with an embedded HTTP Statistics Server with Prometheus metrics available on /metrics since GitLab Runner 1.8.0.[5]

GitLab offers many features such as:

An integrates with many platforms such as Salesforce DX and Snowplow.

GitLab Software[edit | edit source]

Binaries[edit | edit source]

  • gitlab-ctl
    • gitlab-ctl tail
    • gitlab-ctl pg-password-md5 gitlab

Configuration files[edit | edit source]

Activities[edit | edit source]

Basic[edit | edit source]

  1. Read GitLab CI/CD Pipeline Configuration Reference:.gitlab-ci.yml

Medium[edit | edit source]

  1. Read GitLab release notes/Changelog
  2. Install GitLab using docker containers. Note: Gitlab uses PostgreSQL as database backend.[9]

Advanced[edit | edit source]

  1. Review Ansible GitLab modules
  2. Enable Gitlab container registry in: /etc/gitlab/gitlab.rb[10]

GitLab and Kubernetes[edit | edit source]

Since April 2018, GitLab simplifies process of spinning up a new Kubernetes cluster in Google Kubernetes Engine (GKE) to deploy applications.[11]

See also[edit | edit source]

  1. "GitLab Prometheus metrics". Retrieved December 26, 2018.
  11.>in Google Kubernetes Engine (GKE) integration/