Editing GitLab
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | [[ | + | [[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. | 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<ref>{{Cite web|url = https://docs.gitlab.com/ee/administration/monitoring/prometheus/gitlab_metrics.html|title = GitLab Prometheus metrics|accessdate = December 26, 2018}}</ref> and it is activated by default since version 9.0 in 2017.<ref>https://about.gitlab.com/2017/03/22/gitlab-9-0-released/</ref> | ||
GitLab is integrated of different modules including [[GitLab Runner]]<ref>https://docs.gitlab.com/runner/</ref> (<code>.[[gitlab-ci.yml]]</code>) responsible for the [[continuous integration]]<ref>https://docs.gitlab.com/runner/</ref> with an embedded HTTP Statistics Server with Prometheus metrics available on <code>/metrics</code> since GitLab Runner 1.8.0.<ref>https://docs.gitlab.com/runner/monitoring/README.html</ref> | GitLab is integrated of different modules including [[GitLab Runner]]<ref>https://docs.gitlab.com/runner/</ref> (<code>.[[gitlab-ci.yml]]</code>) responsible for the [[continuous integration]]<ref>https://docs.gitlab.com/runner/</ref> with an embedded HTTP Statistics Server with Prometheus metrics available on <code>/metrics</code> since GitLab Runner 1.8.0.<ref>https://docs.gitlab.com/runner/monitoring/README.html</ref> | ||
GitLab offers many features such as: | GitLab offers many features such as: | ||
− | * | + | *audit events<ref>https://docs.gitlab.com/ee/administration/audit_events.html</ref> |
− | * [[ | + | *[[container registry]]<ref>https://docs.gitlab.com/ee/user/packages/container_registry/</ref> |
* [[ElasticSearch]] and [[Sentry]] integration <ref>https://docs.gitlab.com/ee/integration/elasticsearch.html</ref> (not installed with GitLab) | * [[ElasticSearch]] and [[Sentry]] integration <ref>https://docs.gitlab.com/ee/integration/elasticsearch.html</ref> (not installed with GitLab) | ||
* read-only mirrors called GitLab Geo (Premium) | * read-only mirrors called GitLab Geo (Premium) | ||
* [[SAML]] 2.0 Service Provider (SP) capabilities used for Web Browser Single Sign-On ([[SSO]]) | * [[SAML]] 2.0 Service Provider (SP) capabilities used for Web Browser Single Sign-On ([[SSO]]) | ||
− | |||
An integrates with many platforms such as [[Salesforce]] DX and [[Snowplow]]. | An integrates with many platforms such as [[Salesforce]] DX and [[Snowplow]]. | ||
Line 18: | Line 18: | ||
== GitLab Software == | == GitLab Software == | ||
=== Binaries === | === Binaries === | ||
− | * <code> | + | * <code>gitlab-ctl</code> |
− | |||
** <code>gitlab-ctl tail</code> | ** <code>gitlab-ctl tail</code> | ||
** <code>gitlab-ctl pg-password-md5 gitlab</code> | ** <code>gitlab-ctl pg-password-md5 gitlab</code> | ||
Line 25: | Line 24: | ||
=== Configuration files === | === Configuration files === | ||
− | * Default configuration file: <code>/etc/gitlab/ | + | * Default configuration file: <code>/etc/gitlab/gitlab.rb</code> |
− | * Secrets: <code>/etc/gitlab/ | + | * Secrets: <code>/etc/gitlab/gitlab-secrets.json</code> |
− | * Default data directory: <code> | + | * Default data directory: <code>/var/opt/gitlab/git-data</code> |
− | * | + | * GitLab [[CI/CD]] pipelines: <code>.[[gitlab-ci.yml]]</code> https://docs.gitlab.com/ee/ci/yaml/ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Activities== | ==Activities== | ||
=== Basic === | === Basic === | ||
# Read GitLab CI/CD Pipeline Configuration Reference:<code>.gitlab-ci.yml</code> https://docs.gitlab.com/ee/ci/yaml/ | # Read GitLab CI/CD Pipeline Configuration Reference:<code>.gitlab-ci.yml</code> https://docs.gitlab.com/ee/ci/yaml/ | ||
− | |||
=== Medium === | === Medium === | ||
Line 59: | Line 37: | ||
# [[Install GitLab]] using docker containers. Note: Gitlab uses [[PostgreSQL]] as database backend.<ref>https://docs.gitlab.com/omnibus/settings/database.html</ref> | # [[Install GitLab]] using docker containers. Note: Gitlab uses [[PostgreSQL]] as database backend.<ref>https://docs.gitlab.com/omnibus/settings/database.html</ref> | ||
# Review [[GitLab Automatic Let’s Encrypt Renewal]] | # Review [[GitLab Automatic Let’s Encrypt Renewal]] | ||
− | |||
− | |||
=== Advanced === | === Advanced === | ||
Line 69: | Line 45: | ||
== GitLab and Kubernetes == | == GitLab and Kubernetes == | ||
Since April 2018, GitLab simplifies process of spinning up a new [[Kubernetes]] cluster in [[Google Kubernetes Engine]] ([[GKE]]) to deploy applications.<ref>https://about.gitlab.com/2018/04/05/gke-gitlab->in [[Google Kubernetes Engine]] (GKE) integration/</ref> | Since April 2018, GitLab simplifies process of spinning up a new [[Kubernetes]] cluster in [[Google Kubernetes Engine]] ([[GKE]]) to deploy applications.<ref>https://about.gitlab.com/2018/04/05/gke-gitlab->in [[Google Kubernetes Engine]] (GKE) integration/</ref> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{GitLab}} | * {{GitLab}} | ||
− | * {{ | + | * {{dev}} |
+ | * [[wikipedia:Comparison_of_source-code-hosting_facilities]] | ||
− | [[Category:Cloud computing]] | + | [[Category:Cloud computing| ]] |
+ | [[Category: Software development]] | ||
[[Category:Version Control]] | [[Category:Version Control]] | ||
− | |||
{{CC license}} | {{CC license}} | ||
Source: https://en.wikiversity.org/wiki/DevOps/GitLab | Source: https://en.wikiversity.org/wiki/DevOps/GitLab |
Advertising: