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
Introduction to Git with GitLab
Search
tnir
November 07, 2018
Technology
6
530
Introduction to Git with GitLab
Git入門 with GitLab
2018-11-07 GitLab Women (GitLab Meetup Tokyo #11)
tnir
November 07, 2018
Tweet
Share
More Decks by tnir
See All by tnir
三代目CTO at stmn, inc. / CTO at stmn
tnir
0
4.9k
Cloud-agnostic Serverless built with GitLab
tnir
0
310
The Challenge at Contribute & Sessions from GitLab Contribute 2019 New Orleans
tnir
3
1.3k
The State of Docker: product and community
tnir
3
930
GitLab Overview & Version 12.x
tnir
2
2.9k
Engineering life with containers on AWS
tnir
1
7.1k
Everyone can use, everyone can contribute!
tnir
1
390
CircleCI and GitLab CI CD
tnir
3
1.2k
GitLab Serverless Inside
tnir
4
2.3k
Other Decks in Technology
See All in Technology
ギークの理想が7つ集まるエムスリーで夢を叶えよう - エムスリー株式会社
m3_engineering
1
260
Github Actions 로 Android 팀의 효율성 극대화
hadonghyun
0
160
可視化プラットフォームGrafanaの基本と活用方法の全て
hamadakoji
0
230
AI研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
130
LINE WORKSへ簡単通知!Incoming Webhookアプリの紹介
mmclsntr
0
110
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
さらに高品質・高速化を目指すAI時代のテスト設計支援と、めざす先 / AI Test Lab vol.1
shift_evolve
0
190
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
750
Flutter研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
CEL(Common Expression Language)で書いた条件にマッチしたIAM Policyを見つける / iam-policy-finder
fujiwara3
0
710
データベース研修 分析向けSQL入門【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
110
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
The World Runs on Bad Software
bkeepers
PRO
63
11k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
10 Git Anti Patterns You Should be Aware of
lemiorhan
652
58k
Building Applications with DynamoDB
mza
89
5.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
23
1.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
325
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
Bash Introduction
62gerente
607
210k
Adopting Sorbet at Scale
ufuk
71
8.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
149
45k
Transcript
Git 入門 with GitLab @tnir (Takuya Noguchi) GitLab Women (GitLab
Meetup Tokyo #11) 2018-11-07 Creation Line, Inc. Akihabara
Takuya Noguchi @tnir / Tw: @tn961ir / FB: takuya.noguchi.961 Git
(2005-), GitHub (2008-) GitLab: assessment (2012), user (2013-), admin (2014-), dev (2015-), core (2017-) Python, Go programmer, OSS contributor BizDev thru Dev+DevOps Docker, Cloud Native
GitLab
Git
Git Git is the center of software development. Git is
the center of software systems.
Chemistry The central science from Wikipedia Chemistry is often called
"The central science" “ “
Ratiocination (and logic) Mathematics Physics Chemistry Xenosciences (cosmology, astronomy, and
planetary science) Biology Nanoscience Earth sciences (geology, oceanography, and meteorology) Eco environmental science Brain science Agroscience Medical science Computer technology Engineering
似てる!
Git ソフトウェア本体 インフラストラクチャ (infrastructure as code)
オススメの本 湊川 あい「わかばちゃんと学ぶ Git 使い方入門」
GitHub
GitHub.com 2008 年リリース(サービス) Bitbucket を押さえてデファクトスタンダードに OSS の開発場所としても活用 Marketplace で機能拡張できてよい
GitLab
GitLab 2011 年リリースのOSS 2012 年SaaS 版 (.com) も出た どんな感じか触るには.com がオススメ
https://gitlab.com/ 無制限private repository with CI/CD フルスタックDevOps ソリューション Version Control System (Git), Issues, CI/CD, Registry & Artifacts, Monitoring, Environements etc.
Lifecycle See Stages of DevOps lifecyle
Issues (Plan)
None
Issue ドリブンプロジェクト issue を明確にしてから作業する e.g.) 家事, プロジェクト GitLab 初心者は家のタスク管理をGitLab Issues
で始めたらいいので は? cf. GitLab Meetup Tokyo #7 by @jumpyoshim Qiita: https://qiita.com/jumpyoshim/items/f0ee99d770192c48fc7e スライド: https://www.slideshare.net/JumpeiYoshimura/gitlab- 93438104 cf. Backlog を利用した家庭内のタスク管理について報告してみる
Kanban / Issue board アジャイル・スクラムに最適なツール GitHub Projects と同じもしくはそれ以上に使える ソースコードと密に連携→ アジリティ向上
Work ow (Create)
Work ow git- ow あまりオススメできない GitHub Flow ちゃんと運用するのはやや難しい GitLab Flow
git- ow からの移行もオススメ
GitLab Flow https://about.gitlab.com/2014/09/29/gitlab- ow/
チーム開発にも優しいGitLab master ブランチのprotect がデフォルトで設定されている ついつい忘れてしまってプロジェクトが始まることがない 外部CI/CD 設定も不要 (Verify/Package/Release) 見よう見まねでCI YAML
をコピってくるだけでだいたい動く (要議論)
GitLab とCloud Native
Cloud Native コードを書いてすぐにデプロイすること GitLab では2015 年頃から取り組み→2015 年OpenShift 連携リリース →2016 年5
月、Kubernetes 連携リリース
Container Registry コンテナを使うにはコンテナイメージの管理が必要不可欠 GitLab にはGitLab Container Registry 小~中規模であればそのまま使える 大規模でも少しadmin すれば使える
権限設定
Con gure/Monitor/Secure OSS 版(Core, Community) では最低限のカバー Secure まで含めるとEnterprise 版 or
別ソリューション (Google Cloud etc.) を検討したほうがよいかもしれない
GitLab Pages
GitLab Pages 高機能版GitHub Pages 外部CI/CD 連携不要 Markdown を書くだけでドキュメント共有 閲覧権限管理は11 月リリースのv11.5
でリリース見込み
All features https://about.gitlab.com/features/ を見てください
Community
Community GitLab Tokyo GitLab . JP → https://www.meetup.com/GitLab-Meetup-Tokyo/
コミュニティはオフラインだけではない
コミュニティ JP Slack Gitter (gitter.im/gitlabhq/gitlabhq) GitLab 翻訳 ( 英→ 日)
Docs ( 英語) コードコントリビューション Ruby on Rails, Go, Vue.js, CSS
GitLab Summit 9 ヶ月に1 度のGitLab イベント 前回は2018 年8 月南アフリカケープタウン 次回は2019
年5 月ニューオリンズ https://about.gitlab.com/company/culture/summits/
11/20 Women Who Code Tokyo https://www.meetup.com/Women-Who-Code- Tokyo/events/255736067/