You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org
GitLab: Difference between revisions
imported>Jelto No edit summary |
imported>Jelto No edit summary |
||
Line 1: | Line 1: | ||
{{Sidebar | |||
| style = background: white; padding:10px; padding-{{dir|{{pagelang}}|left|right}}:13px; margin:{{dir|{{pagelang}}|5px 12px 5px 0|5px 0 5px 12px}}; width: 350px; | |||
| name = GitLab | |||
| title = GitLab | |||
| image = [[File:Gitlab-logo.svg.svg|center|250px]] | |||
| headingstyle = font-size: 130%; padding: .5em; | |||
| contentstyle = text-align: {{dir|{{pagelang}}|right|left}}; font-size: 14px; padding: .5em; line-height: 1.5; | |||
| abovestyle = text-align: {{dir|{{pagelang}}|right|left}}; | |||
| content1 = | |||
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}} | |||
* External resources: | |||
** [https://gitlab.wikimedia.org/ Production GitLab] | |||
** [https://docs.gitlab.com GitLab docs] | |||
** [https://www.mediawiki.org/wiki/GitLab GitLab in MediaWiki] | |||
** [https://phabricator.wikimedia.org/project/view/5057/ GitLab in Phabricator] | |||
}} | |||
This page contains SRE related topics for GitLab. For GitLab application specific information, please see https://www.mediawiki.org/wiki/GitLab (under Implementation). | This page contains SRE related topics for GitLab. For GitLab application specific information, please see https://www.mediawiki.org/wiki/GitLab (under Implementation). | ||
GitLab is reachable at https://gitlab.wikimedia.org/. We run multiple instances of GitLab: | GitLab is reachable at https://gitlab.wikimedia.org/. We run multiple instances of GitLab: | ||
Line 9: | Line 26: | ||
* gitlab in WMCS gitlab-test project | * gitlab in WMCS gitlab-test project | ||
gitlab1001 and gitlab2001 are setup using puppet and Ansible. The base configuration currently lives in [[gerrit:plugins/gitiles/operations/puppet/+/refs/heads/production/modules/profile/manifests/gitlab.pp|profile::gitlab]]. Additional GitLab specific configuration comes from [[gerrit:plugins/gitiles/operations/gitlab-ansible|gitlab-ansible]]. Its planned to migrate all of the logic to puppet and drop Ansible (see [[phab:T283076|T283076]]). | gitlab1001 and gitlab2001 are setup using puppet and Ansible. The base configuration currently lives in [[gerrit:plugins/gitiles/operations/puppet/+/refs/heads/production/modules/profile/manifests/gitlab.pp|profile::gitlab]]. Additional GitLab specific configuration comes from [[gerrit:plugins/gitiles/operations/gitlab-ansible|gitlab-ansible]]. Its planned to migrate all of the logic to puppet and drop Ansible (see [[phab:T283076|T283076]]). GitLab is installed as a [https://docs.gitlab.com/omnibus/ Omnibus installation] on all instances. So all GitLab components are installed using the official packages and are executed on a single host. The reasons for this setup can be found in the [[mw:GitLab/Initialization|Initialization docs in Mediawiki]]. | ||
So GitLab | |||
GitLab login is implemented with SSO using the [[CAS-SSO|CAS/SSO]]. So users will be redirected to idp.wikimedia.org to login to the SSO portal. Groups <code>ops</code>, <code>wmf</code> or <code>nda</code> are needed to access GitLab currently.<ref>https://gerrit.wikimedia.org/r/c/operations/puppet/+/709383/2/hieradata/role/common/idp.yaml#175</ref> | |||
Revision as of 13:13, 3 August 2021
GitLab |
---|
|
This page contains SRE related topics for GitLab. For GitLab application specific information, please see https://www.mediawiki.org/wiki/GitLab (under Implementation).
GitLab is reachable at https://gitlab.wikimedia.org/. We run multiple instances of GitLab:
- gitlab1001 runs production GitLab serving https://gitlab.wikimedia.org/
- gitlab2001 runs a passive GitLab instance serving https://gitlab-replica.wikimedia.org/ (WIP)
- gitlab-ansible-test in WMCS gitlab-test project
- gitlab in WMCS gitlab-test project
gitlab1001 and gitlab2001 are setup using puppet and Ansible. The base configuration currently lives in profile::gitlab. Additional GitLab specific configuration comes from gitlab-ansible. Its planned to migrate all of the logic to puppet and drop Ansible (see T283076). GitLab is installed as a Omnibus installation on all instances. So all GitLab components are installed using the official packages and are executed on a single host. The reasons for this setup can be found in the Initialization docs in Mediawiki.
GitLab login is implemented with SSO using the CAS/SSO. So users will be redirected to idp.wikimedia.org to login to the SSO portal. Groups ops
, wmf
or nda
are needed to access GitLab currently.[1]