8: 2021-09-21 (火) 00:20:20 iseki |
現: 2023-11-05 (日) 14:21:13 iseki |
| * GitLab [#h4c33028] | | * GitLab [#h4c33028] |
| + | - 衝撃の読み方「ギットラブ」!! |
| #br | | #br |
| + | |
| + | ** Getting Started [#w3337f79] |
| + | |
| *** 起動 [#cd57f833] | | *** 起動 [#cd57f833] |
| - サービス: gitlab-runsvdir.service | | - サービス: gitlab-runsvdir.service |
| - /etc/gitlab/gitlab.rb | | - /etc/gitlab/gitlab.rb |
| external_url 'https://gitlab.nsl.tuis.ac.jp' | | external_url 'https://gitlab.nsl.tuis.ac.jp' |
| + | |
| nginx['redirect_http_to_https'] = true | | nginx['redirect_http_to_https'] = true |
| nginx['redirect_http_to_https_port'] = 80 | | nginx['redirect_http_to_https_port'] = 80 |
| nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.crt" | | nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.crt" |
| nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.key" | | nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.key" |
| + | |
| letsencrypt['enable'] = true | | letsencrypt['enable'] = true |
| letsencrypt['contact_emails'] = ['iseki@rsch.tuis.ac.jp'] # This should be an array of email addresses to add as contacts | | letsencrypt['contact_emails'] = ['iseki@rsch.tuis.ac.jp'] # This should be an array of email addresses to add as contacts |
| ##! Docs: https://docs.gitlab.com/ee/administration/container_registry.html | | ##! Docs: https://docs.gitlab.com/ee/administration/container_registry.html |
| ################################################################################ | | ################################################################################ |
| + | |
| registry_external_url 'https://gitlab.nsl.tuis.ac.jp:5050' | | registry_external_url 'https://gitlab.nsl.tuis.ac.jp:5050' |
| + | |
| ### Settings used by GitLab application | | ### Settings used by GitLab application |
| #gitlab_rails['registry_enabled'] = true | | #gitlab_rails['registry_enabled'] = true |
| #br | | #br |
| | | |
- | *** Trouble Shooting [#y0073385] | + | ** 運用 [#mce91faa] |
| + | *** 新規作成 [#i9d96740] |
| + | **** 新規プロジェクト [#x547ac2c] |
| + | - Create blank project |
| + | -- Create |
| + | - clone でダウンロード.それを上書き. |
| + | - add |
| + | - commit |
| + | - push |
| + | #br |
| + | |
| + | ** Trouble Shooting [#y0073385] |
| + | |
| + | **** いつの間にか動かなくなっていた! [#p3cfe593] |
| + | - ソフトウェアの更新が上手くいっていない可能性がある. |
| + | - 順にバージョンを上げる必要がある. |
| + | /etc/yum.repos.d/gitlab_gitlab-ce.repo をチェック |
| + | # yum install gitlab-ce-5.1.* |
| + | # gitlab-ctl reconfigure |
| + | # yum install gitlab-ce-5.2.* |
| + | # gitlab-ctl reconfigure |
| + | # yum install gitlab-ce-5.3.* |
| + | # gitlab-ctl reconfigure |
| + | # ........ |
| + | - gitlab-ce-5.18 で蹴躓く |
| + | #br |
| **** LDAP でログイン時にエラー [#xb711372] | | **** LDAP でログイン時にエラー [#xb711372] |
| - Could not authenticate you from Ldapmain because "Undefined method `provider' for nil:nilclass". | | - Could not authenticate you from Ldapmain because "Undefined method `provider' for nil:nilclass". |