Slide 1

Slide 1 text

GitLab Flow 62nd Ruby/Rails ษڧձ@ؔ੢ Takashi Ogomori

Slide 2

Slide 2 text

GitLab with Flow ਐԽ͢ΔGitHubΫϩʔϯ͸Φʔϓϯιʔε։ൃϑϨʔϜϫʔΫ ϚʔδϦΫΤετ ! ͰίϥϘϨʔγϣϯ͔Βͷଚܟͱ৴པ 2/28

Slide 3

Slide 3 text

Profile " ogom # ogomr GitLab Cookbookͷ։ൃʹߩݙ ΦϨΦϨGitLabͷखॱΛ঺հ GitLab.org Cookbook · GitLab Cookbook with SSL · 3/28

Slide 4

Slide 4 text

Commercial GitHub࣮ફೖ໳ ʮPull RequestʹΑΔ։ൃͷมֵʯ 4/28

Slide 5

Slide 5 text

$ GitLab 7.1.0 5/28

Slide 6

Slide 6 text

Admin area 6/28

Slide 7

Slide 7 text

Project 7/28

Slide 8

Slide 8 text

User 8/28

Slide 9

Slide 9 text

Group 9/28

Slide 10

Slide 10 text

Background Jobs 10/28

Slide 11

Slide 11 text

Project services 11/28

Slide 12

Slide 12 text

% Flow Styles 12/28

Slide 13

Slide 13 text

git-flow ෳ਺ͷϒϥϯνʹ໨తͱϧʔϧΛ࣋ͨͤͯӡ༻ Branches આ໌ master ϦϦʔεͰ͖Δঢ়ଶɻϦϦʔεʹλάΛ͚ͭΔɻଞͷϒϥϯν͔ΒϚʔδ͢Δɻ develop ։ൃ࡞ۀͷத৺ɻfeature΍releaseʹϚʔδ͢Δɻ feature ػೳ௥Ճͷ࡞ۀɻdevelop͔Β෼ذͯ͠developʹϚʔδ͢Δɻ release ϦϦʔεͷ४උ࡞ۀɻdevelop͔Β෼ذͯ͠masterͱdevelopʹϚʔδ͢Δɻ hotfix ϦϦʔεޙͷۓٸ࡞ۀɻmaster͔Β෼ذͯ͠masterͱdevelopʹϚʔδ͢Δɻ & git-flow Cheat Sheet (೔ຊޠ) 13/28

Slide 14

Slide 14 text

GitHub Flow ̍ͭͷϒϥϯν(master)ΛϦϦʔεͰ͖Δঢ়ଶʹҡ࣋ͯ͠ӡ༻ Works આ໌ Create a branch master͔Β෼ذͯ͠ɺϒϥϯνΛ࡞੒͢Δɻ Add commits ։ൃ࡞ۀͷத৺ɻมߋͷίϛοτΛ௥Ճ͢Δɻ Open a Pull Request masterʹϓϧϦΫΤετΛૹ৴͢Δɻ Discuss and Review มߋͷ಺༰Λٞ࿦ͯ͠ɺίʔυͷϨϏϡʔΛ͢Δɻ Merge and Deploy masterʹϚʔδͯ͠ɻϦϦʔε͢Δɻ & Understanding the GitHub Flow 14/28

Slide 15

Slide 15 text

GitLab Flow masterϒϥϯνͱstableϒϥϯνΛฏߦͰ։ൃ͢Δӡ༻ Branches આ໌ master ։ൃ࡞ۀͷத৺ɻଞͷϒϥϯν͔ΒϚʔδ͢Δɻ feature ػೳ௥Ճͷ࡞ۀɻmaster͔Β෼ذͯ͠masterʹϚʔδ͢Δɻ stable ϦϦʔεͰ͖Δঢ়ଶɻϦϦʔεʹλάΛ͚ͭΔɻଞͷϒϥϯν͔ΒϚʔδ͢Δɻ hotfix ϦϦʔεޙͷۓٸ࡞ۀɻstable͔Β෼ذͯ͠stableͱmasterʹϚʔδ͢Δɻ & git-flow͔ΒdevelopϒϥϯνΛআ͍ͯGitHub Flowͱෳ߹ & masterɺfeature ͱstableɺhotfix ʹGitHub FlowΛదԠ 15/28

Slide 16

Slide 16 text

' GitLab Works 16/28

Slide 17

Slide 17 text

Creating a project 17/28

Slide 18

Slide 18 text

Create a feature branch 18/28

Slide 19

Slide 19 text

Add commits 19/28

Slide 20

Slide 20 text

Open a Merge Request 20/28

Slide 21

Slide 21 text

Merge and deploy 21/28

Slide 22

Slide 22 text

Create a stable branch 22/28

Slide 23

Slide 23 text

Create a hotfix branch 23/28

Slide 24

Slide 24 text

Add commits 24/28

Slide 25

Slide 25 text

Open a Merge Request 25/28

Slide 26

Slide 26 text

Merge and deploy 26/28

Slide 27

Slide 27 text

Continuous 27/28

Slide 28

Slide 28 text

Thank You! 28/28