Upgrade to Pro — share decks privately, control downloads, hide ads and more …

メドピアにおけるライブラリアップデート_MedBeer_20180912.pdf

pipopotamasu
September 13, 2018
11k

 メドピアにおけるライブラリアップデート_MedBeer_20180912.pdf

pipopotamasu

September 13, 2018
Tweet

Transcript

  1. ϝυϐΞʹ͓͚Δ
    ϥΠϒϥϦΞοϓσʔτ
    ϝυϐΞגࣜձࣾ
    ΤϯδχΞ ଜ্ େ࿨
    @MedBeer 2018/09/12

    View full-size slide

  2. self_introduce.json
    {
    “name”: “ଜ্େ࿨”,
    “age”: 26,
    “github”: “pipopotamasu”,
    “company”: “ϝυϐΞגࣜձࣾ”,
    “tech”: [“Ruby”, “PHP”, “Vue.js”, “React”],
    “hobby”: [“໺ٿ”, “өը”],
    }

    View full-size slide

  3. 1
    Copyright(C) 2018 ALL RIGHTS RESERVED , MedPeer,Inc. CONFIDENTIAL
    %% &%% ')$
    ($#$,.-!**

    E
    0 1
    M
    M F
    5 d
    MP
    5 3
    5 0
    5
    5 0 5
    5 e
    1
    r 5
    , 5 ,

    View full-size slide

  4. https://jp.vuejs.org/v2/cookbook/
    creating-custom-scroll-directives.html

    View full-size slide

  5. ͱ͍͏Θ͚ͰൃදςʔϚ

    View full-size slide

  6. ٕज़తෛ࠴ͱ͸?

    View full-size slide

  7. https://ja.wikipedia.org/
    wiki/ٕज़తෛ࠴

    View full-size slide

  8. ߦ͖౰ͨΓ͹ͬͨΓͷιϑτ
    ΢ΣΞΞʔΩςΫνϟͱɺ
    ༨༟ͷͳ͍ιϑτ΢ΣΞ։ൃ
    ͕Ҿ͖ى݁͜͢Ռͷ͜ͱΛࢦ
    ͢৽͍͠ൺᄻ

    View full-size slide

  9. ߦ͖౰ͨΓ͹ͬͨΓͷιϑτ
    ΢ΣΞΞʔΩςΫνϟ

    ༨༟ͷͳ͍ιϑτ΢ΣΞ։ൃ

    View full-size slide

  10. ༨༟ͷͳ͍ιϑτ΢ΣΞ։ൃ

    View full-size slide

  11. ༨༟ͷͳ͍ιϑτ΢ΣΞ։ൃ

    View full-size slide

  12. ͱ͍͏Θ͚ͰൃදςʔϚ

    View full-size slide

  13. ϝυϐΞʹ͓͚Δ
    ϥΠϒϥϦΞοϓσʔτ
    [Gemฤ]

    View full-size slide

  14. 2016/05/06 ॳίϛοτ

    View full-size slide

  15. ͋Ε͔Βɺ1೥ͱ਺ϲ݄

    View full-size slide

  16. ͦΖͦΖRails5.1ʹ
    ͋͛Δ͔…

    View full-size slide

  17. ґଘgem͕ݹ͗͢Δ

    View full-size slide

  18. ॳظϦϦʔε͔Β΄ͱΜͲ
    Gemͷόʔδϣϯ
    ্͛ͯͳ͔ͬͨ

    View full-size slide

  19. ΞοϓσʔτҰഋ

    View full-size slide

  20. Έ͖͑ͯͨɺRails5.1

    View full-size slide

  21. ͔ͤͬ͘ͳͷͰଞͷGemୡ΋
    Ξοϓσʔτ

    View full-size slide

  22. ྲྀੴʹ͖͔ͭͬͨ…

    View full-size slide

  23. 1೥ͱ਺ϲ݄ͷॏΈ

    View full-size slide

  24. ͪΌΜͱGemͷΞοϓσʔτ
    ͸΍͍ͬͯ͜͏

    View full-size slide

  25. ʮBundle Update Flowʯ
    ͷಋೖ

    View full-size slide

  26. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  27. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  28. https://github.com/masutaka/
    circleci-bundle-update-pr

    View full-size slide

  29. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  30. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  31. ֤ࣗͰ֬ೝ͢ΔͱͩΒ͚ΔͷͰΈΜͳͰ΍Δ

    View full-size slide

  32. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  33. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥʹ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  34. • CronपΓͷ֬ೝ
    • ૝ఆ͍ͯ͠ͳ͔ͬͨෆ۩߹ͷൃݟ

    View full-size slide

  35. Bundle Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  36. Bundle Update FlowΛ΍ͬͯΈͯ
    • ຖ݄Ξοϓσʔτ͔ͩΒͦΜͳʹॏ͘ͳ͍
    • ҰਓͰ΍Δͱෛ୲େ͕ͩɺࡾਓͰ΍Ε͹ͦΜͳ
    ʹۤ͡Όͳ͍
    • ͍͍ײ͡ͰΞοϓσʔτ͕पΓ࢝Ίͨ
    • ࢓૊ΈԽେࣄ

    View full-size slide

  37. ͳΜ͔๨Εͯͳ͍?

    View full-size slide

  38. ϝυϐΞʹ͓͚Δ
    ϥΠϒϥϦΞοϓσʔτ
    [Gem npmฤ]

    View full-size slide

  39. 2016/05/06 ॳίϛοτ

    View full-size slide

  40. Gem npm͕ݹ͗͢Δ

    View full-size slide

  41. ΞοϓσʔτҰഋ

    View full-size slide

  42. ͪΌΜͱGem npmͷΞοϓ
    σʔτ͸΍͍ͬͯ͜͏

    View full-size slide

  43. ʮBundle Yarn Update Flowʯ
    ͷಋೖ

    View full-size slide

  44. Bundle Yarn Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle yarn updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle yarn updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  45. Bundle Yarn Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle yarn updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle yarn updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  46. https://github.com/taichi/
    ci-yarn-upgrade

    View full-size slide

  47. Bundle Yarn Update Flow
    1. ຖ݄1೔ʹࣗಈతʹbundle yarn updateͷϓϧϦΫΛ࡞੒͢Δ
    2. bundle yarn updateͷ୲౰ऀΛ3ׂ໊Γ౰ͯΔ
    3. શһͰू·ͬͯ1~2࣌ؒͰࠩ෼ΛશͯνΣοΫ
    4. मਖ਼͕ඞཁͳΒमਖ਼
    5. ςετ؀ڥͰ1िؒ௮͚Δ
    6. ϦϦʔε

    View full-size slide

  48. Coming soon…

    View full-size slide

  49. Ξοϓσʔτ͸࢓૊ΈԽͯ͠ɺ
    ෛ࠴ΛཷΊͳ͍Α͏ʹ͠Α͏ʂ

    View full-size slide

  50. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide