Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Contributing to GitLab with OSS Gate
Search
ogom
January 13, 2018
Technology
0
590
Contributing to GitLab with OSS Gate
ogom
January 13, 2018
Tweet
Share
More Decks by ogom
See All by ogom
PicoRuby から始めるたのしい電子工作
ogom
0
1.9k
GraphQL Better Errors
ogom
0
370
Osaka RubyKaigi 02
ogom
0
330
Osaka RubyKaigi 01
ogom
0
210
DojoCon Japan 2017
ogom
0
140
GDStudy Engage
ogom
1
800
Using Immutable.js with React Redux
ogom
0
150
CoderDojo と オープンソース
ogom
2
500
イベントの紹介と募集
ogom
0
150
Other Decks in Technology
See All in Technology
ZOZOマッチのアーキテクチャと技術構成
zozotech
PRO
3
1.5k
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
540
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
複数サービスを支えるマルチテナント型Batch MLプラットフォーム
lycorptech_jp
PRO
0
300
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
290
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
140
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
210
Rustから学ぶ 非同期処理の仕組み
skanehira
1
130
Aurora DSQLはサーバーレスアーキテクチャの常識を変えるのか
iwatatomoya
1
830
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
100
ChatGPTとPlantUML/Mermaidによるソフトウェア設計
gowhich501
1
130
落ちる 落ちるよ サーバーは落ちる
suehiromasatoshi
0
150
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Embracing the Ebb and Flow
colly
87
4.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Statistics for Hackers
jakevdp
799
220k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Documentation Writing (for coders)
carmenintech
74
5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Optimizing for Happiness
mojombo
379
70k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Faster Mobile Websites
deanohume
309
31k
Transcript
Contributing to GitLab with OSS Gate ୈ80ճ Rubyؔ ษڧձ
Agenda • OSS։ൃ ʹࢀՃ͠Α͏ • GitLab ͷ։ൃڥߏங • GitLab ͷΞʔΩςΫνϟ
ࣾͰ Git Λීٴ͢ΔͨΊʹ GitLab Λେྔʹ Πϯετʔϧ͢Δඞཁ͕͋ͬͨ
Chef ͷ GitLab Cookbook Λ ࡞ͬͯͩΕͰ؆୯ʹ ΠϯετʔϧͰ͖ΔΑ͏ʹͨ͠
͜ͷ GitLab Cookbook ͕ GitLab ͷ։ൃݩʹ࠾༻͞Εͨ ʢVer.4 ʙ Ver.6·Ͱʣ https://gitlab.com/gitlab-org/cookbook-gitlab
։ൃڥͷߏஙʹ Cookbook ͕࠾༻͞Εͨ࣌ظ͕͕͋ͬͨ Docker ͕ొ
Ͱ Docker ࣌Ϩεϙϯε ͕ѱͯ͘ԾڥΛΘͳ͍ GDK ͕Ͱ͖ͨ
GitLab Development Kit Ͱ OSS։ൃʹࢀՃ͠·ͤΜ͔ʁ
OSS։ൃ ͳʹͦΕʁ
ϥΠηϯε͕Φʔϓϯιʔε ͷιϑτΣΞΛ։ൃ͢Δ https://opensource.org/licenses
OSS։ൃ ʹ ࢀՃ͢Δʹʁ
͍ͭͰɺͩΕͰ ࢀՃͰ͖·͢
OSS։ൃ ʹࢀՃͨ͜͠ͱ͕ ͳ͍ํʹϑΟʔυόοΫ͕ Φεεϝ
ϑΟʔυόοΫ Λ͢Δʹʁ
Ϣʔβʔͱͯ͠ OSS Λ͏
ؾ͍ͮͨࣄΛ։ൃݩʹ ϑΟʔυόοΫ
GitLab ΛϢʔβʔ ͱͯ͠͏
GitLab ͷΠϯετʔ ϧͱͯ؆୯ https://about.gitlab.com/installation/
ৗ࣌SSL Let’s Encrypt Ͱ؆୯ʹ҉߸Խ௨৴ https://qiita.com/ogomr/items/ 238d8649b36bcc8c14ba
GitLab ͷ։ൃڥΛ ߏங͢Δ
GitLab Development Kit Ͱ؆୯ʹߏங https://qiita.com/ogomr/items/ cc404bf9373408663b11
GDK ͷखॱΛ࡞தʹϑΟʔ υόοΫϙΠϯτΛൃݟ https://gitlab.com/gitlab-org/gitlab-ce/issues/41513
࡞ۀϝϞ͔Βใࠂ༰ Λཧ͢Δ
։ൃݩʹͱͬͯΘ͔Γ ͘ͳΑΔΑ͏ฤू͢Δ https://gitlab.com/gitlab-org/gitlab-development-kit/ blob/master/CONTRIBUTING.md
దͳॴʹใࠂ͢Δ GitLab gitlab.com ͷ issues
ͳΜͱͳ͘ෑډ͕ߴ͍ ͱײ͡·͔͢ʁ
͍ͬ͠ΐʹ ମݧ͠·͠ΐ͏ʂ
OSS Gateେࡕ ϫʔΫ γϣοϓ 2018-03-10 https://oss-gate.doorkeeper.jp/events/69160
GitLab ͬͯͲΜͳ ٕज़Ͱಈ͍͍ͯΔͷʁ
GitLab Application Architecture https://docs.gitlab.com/ce/development/ architecture.html
None
Frontend Development Guidelines > Architecture https://docs.gitlab.com/ce/development/fe_guide/ architecture.html
gdk run Ͱ ىಈ͢Δϓϩηε gitlab-workhorse, gitaly, sshd, rails-web, rails- background-jobs,
webpack, registry, redis, postgresql
Gitlab Workhorse Smart reverse proxy language Go
Gitaly Git RPC(Remote procedure call) service language Ruby, Go
GitLab Shell (sshd) SH access and repository management language Ruby,
Go
GitLab Rails Web (unicorn) Manage Git repositories with access controls
language Ruby, JavaScript
GitLab Rails Background Jobs (sidekiq) Async background processing language
Ruby
GitLab Frontend Web (webpack) Complex frontend features language JavaScript
GitLab Community Edition ͷґଘύοέʔδ • Gemfile.lock 226 • rails, pg,
devise, grape, seed-fu, unicorn, sidekiq, rspec … • yarn.lock 1098 • babel, jquery, vue, vuex, webpack, eslint, jasmine, karma …
༁ͷΠγϡʔ Ϛʔδ͞Ε͍͢ https://github.com/mperham/sidekiq/pull/3720/files