GitLab
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:
- audit events[6]
- container registry[7]
- ElasticSearch and Sentry integration [8] (not installed with GitLab)
- read-only mirrors called GitLab Geo (Premium)
- 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.
Contents
GitLab Software
Binaries
gitlab-ctlgitlab-ctl tailgitlab-ctl pg-password-md5 gitlab
Configuration files
- Default configuration file:
/etc/gitlab/gitlab.rb - Secrets:
/etc/gitlab/gitlab-secrets.json - Default data directory:
/var/opt/gitlab/git-data - GitLab CI/CD pipelines:
./gitlab-ci.yml/https://docs.gitlab.com/ee/ci/yaml/
Activities
Basic
- Read GitLab CI/CD Pipeline Configuration Reference:
.gitlab-ci.ymlhttps://docs.gitlab.com/ee/ci/yaml/
Medium
- Read GitLab release notes/Changelog
- /Install GitLab/ using docker containers. Note: Gitlab uses PostgreSQL as database backend.[9]
Advanced
- Review Ansible GitLab modules https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html
- Enable Gitlab container registry in:
/etc/gitlab/gitlab.rb[10]
GitLab and Kubernetes
Since April 2018, GitLab simplifies process of spinning up a new Kubernetes cluster in Google Kubernetes Engine (GKE) to deploy applications.[11]
See also
- Jenkins X
- wwikipedia:Comparison_of_source-code-hosting_facilities
git: [config | init | status ],git add,git rm,git commit,git push, git pull,.gitconfig,.gitignore,git(clone,fetch,pull),git tag,git log,git blame, Merge Request, LFS,git branch,git apply,git rebase,git diff,git diff-tree,git config --global,remote | submodule | request-pull,GIT_TRACE, GIT_CURL_VERBOSE,clean,main,git show-ref,git reset,git prune,git ls-remote origin,git checkout,git switch,pathspec,git credential-osxkeychain,git version,pre-commit,git --help, GitBook,refs/, Git Credential Manager,git diff-index- JFrog Artifactory
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: https://en.wikiversity.org/wiki/DevOps/GitLab
- ↑ "GitLab Prometheus metrics". Retrieved December 26, 2018.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- ↑ https://about.gitlab.com/2017/03/22/gitlab-9-0-released/
- ↑ https://docs.gitlab.com/runner/
- ↑ https://docs.gitlab.com/runner/
- ↑ https://docs.gitlab.com/runner/monitoring/README.html
- ↑ https://docs.gitlab.com/ee/administration/audit_events.html
- ↑ https://docs.gitlab.com/ee/user/packages/container_registry/
- ↑ https://docs.gitlab.com/ee/integration/elasticsearch.html
- ↑ https://docs.gitlab.com/omnibus/settings/database.html
- ↑ https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver
- ↑ https://about.gitlab.com/2018/04/05/gke-gitlab->in Google Kubernetes Engine (GKE) integration/
Advertising: