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

Deliver Beta App with ChatOps

Deliver Beta App with ChatOps

at MOPCON 2015
http://mopcon.org/2015/

[email protected]
PRO

November 01, 2015
Tweet

Other Decks in Technology

Transcript

  1. Deliver Beta App
    with ChatOps
    Nulab Inc., at MOPCON 2015 1

    View Slide

  2. Agenda
    • About Us
    • Experiences of beta test for web services
    • Architecture of beta test for iOS app
    • Benefits of ChatOps beta test
    • Conclusion
    Nulab Inc., at MOPCON 2015 2

    View Slide

  3. About me
    • Taichiro Yoshida (@dataich)
    • Software Developer at Nulab Inc.
    • Team Typetalk
    • Web
    • iOS
    • Windows and Mac app
    Nulab Inc., at MOPCON 2015 3

    View Slide

  4. About Nulab
    Nulab Inc., at MOPCON 2015 4

    View Slide

  5. • Web services focus on collaboration
    • Fukuoka / Tokyo / Kyoto / New York
    (Taiwan /Singapore / Vietnam)
    Nulab Inc., at MOPCON 2015 5

    View Slide

  6. Backlog -
    backlogtool.com
    • Project management tool with fun elements
    • 6 languages include Simplified / Traditional
    Chinese
    • 3700 paid spaces
    Nulab Inc., at MOPCON 2015 6

    View Slide

  7. Cacoo - cacoo.com
    • Online drawing collaboration service
    • 1,800,000 global accounts
    Nulab Inc., at MOPCON 2015 7

    View Slide

  8. Typetalk -
    www.typetalk.in
    • Real-time chat collaboration service
    Nulab Inc., at MOPCON 2015 8

    View Slide

  9. Topic based chatting tool
    Nulab Inc., at MOPCON 2015 9

    View Slide

  10. Archive conversation into
    Talks
    Nulab Inc., at MOPCON 2015 10

    View Slide

  11. Like ❤
    Nulab Inc., at MOPCON 2015 11

    View Slide

  12. Mobile / Desktop
    Nulab Inc., at MOPCON 2015 12

    View Slide

  13. Integration with Cacoo
    Nulab Inc., at MOPCON 2015 13

    View Slide

  14. Integration with Backlog
    Nulab Inc., at MOPCON 2015 14

    View Slide

  15. Integration with
    • 3rd party services
    • API / Webhook
    Nulab Inc., at MOPCON 2015 15

    View Slide

  16. Our APIs are open to
    public
    https://developer.nulab-inc.com
    Nulab Inc., at MOPCON 2015 16

    View Slide

  17. Experiences of
    beta test for web
    services
    Nulab Inc., at MOPCON 2015 17

    View Slide

  18. Example: Typetalk
    Nulab Inc., at MOPCON 2015 18

    View Slide

  19. Experiences
    We have been running beta test on all our
    services.
    • Feedback from daily use is valuable
    • Finding problems is easier with real data than
    test data.
    So we thought that beta test is useful for mobile
    application too.
    Nulab Inc., at MOPCON 2015 19

    View Slide

  20. Architecture of
    beta test for iOS
    app
    Nulab Inc., at MOPCON 2015 20

    View Slide

  21. Demo Video
    Nulab Inc., at MOPCON 2015 21

    View Slide

  22. Nulab Inc., at MOPCON 2015 22

    View Slide

  23. Nulab Inc., at MOPCON 2015 23

    View Slide

  24. Nulab Inc., at MOPCON 2015 24

    View Slide

  25. Nulab Inc., at MOPCON 2015 25

    View Slide

  26. Architecture
    Nulab Inc., at MOPCON 2015 26

    View Slide

  27. Nulab Inc., at MOPCON 2015 27

    View Slide

  28. Nulab Inc., at MOPCON 2015 28

    View Slide

  29. Typetalk - Bot
    and Webhook
    • Create bot in topic settings
    • Fill Webhook field
    Nulab Inc., at MOPCON 2015 29

    View Slide

  30. Typetalk - Post Message
    Post @mention message to Typetalk
    Nulab Inc., at MOPCON 2015 30

    View Slide

  31. Nulab Inc., at MOPCON 2015 31

    View Slide

  32. Jenkins - Typetalk Plugin
    • Typetalk Plugin
    • Provide Webhook URL to start the job
    https://jenkins.example.com/typetalk/
    notify
    • No Hubot, No Servers
    Nulab Inc., at MOPCON 2015 32

    View Slide

  33. Jenkins - Job
    • Execute fastlane in job
    Nulab Inc., at MOPCON 2015 33

    View Slide

  34. Nulab Inc., at MOPCON 2015 34

    View Slide

  35. fastlane
    • Easy to use deployment tool for iOS
    Nulab Inc., at MOPCON 2015 35

    View Slide

  36. fastlane - Fastfile
    lane :beta do
    sigh({
    adhoc: true,
    })
    gym({
    workspace: "Typetalk.xcworkspace",
    configuration: "Beta",
    scheme: "Typetalk-Beta",
    })
    crashlytics({
    crashlytics_path: 'Pods/Crashlytics/Crashlytics.framework',
    ipa_path: 'Typetalk.ipa',
    notes_path: 'ChangeLog.md'
    })
    typetalk({
    message: "Typetalk iOS Beta App has been updated.\nCheck your email or restart the app then you will get update alert message.",
    note_path: 'ChangeLog.md',
    topic_id: 2
    })
    end
    Nulab Inc., at MOPCON 2015 36

    View Slide

  37. Nulab Inc., at MOPCON 2015 37

    View Slide

  38. Crashlytics - Beta
    • Beta Distribution Service
    Nulab Inc., at MOPCON 2015 38

    View Slide

  39. Nulab Inc., at MOPCON 2015 39

    View Slide

  40. Typetalk - Release Note
    Post message with release note
    Nulab Inc., at MOPCON 2015 40

    View Slide

  41. Nulab Inc., at MOPCON 2015 41

    View Slide

  42. Crashlytics - Reporting
    Collect Crash Reporting
    Nulab Inc., at MOPCON 2015 42

    View Slide

  43. Benefits of ChatOps beta
    test
    • Deploy process is complicated, but can be
    automated
    • Easy to notice when and what
    • Easy release, then get feedback soon
    • Find bugs as soon as possible
    Nulab Inc., at MOPCON 2015 43

    View Slide

  44. Conclusion
    • Huge benefits by having beta testing
    • Easy to setup ChatOps
    • Install Typetalk Plugin to Jenkins
    • Setup Webhook on Typetalk
    • Write Fastfile for fastlane
    Please Try it!
    Nulab Inc., at MOPCON 2015 44

    View Slide

  45. We Are Hiring
    https://nulab-inc.com/career/
    Nulab Inc., at MOPCON 2015 45

    View Slide

  46. I have questions
    for you.
    Nulab Inc., at MOPCON 2015 46

    View Slide

  47. What chat
    service do we
    use to realize
    ChatOps?
    Nulab Inc., at MOPCON 2015 47

    View Slide

  48. What Typetalk
    feature is
    important to run
    Jenkins' job?
    Nulab Inc., at MOPCON 2015 48

    View Slide

  49. ँँ
    Nulab Inc., at MOPCON 2015 49

    View Slide