$30 off During Our Annual Pro Sale. View Details »

Mobile CI at Etsy

Mobile CI at Etsy

Mobile is a strong focus at Etsy and we are working on bringing the lessons we learned from running a successful website to the mobile space. This talk will cover how we do Continuous Integration for our mobile apps and have build up an infrastructure around it that supports the workflow of mobile development.

Daniel Schauenberg

June 19, 2014
Tweet

More Decks by Daniel Schauenberg

Other Decks in Technology

Transcript

  1. Mobile CI at Etsy
    Daniel Schauenberg
    [email protected]

    View Slide

  2. View Slide

  3. @mrtazz

    View Slide

  4. View Slide

  5. View Slide

  6. “Every commit
    should build the
    mainline on an
    integration
    machine”

    View Slide

  7. @mrtazz
    GitHub Enterprise
    • All code in on-premise git repos
    • Development on master branch
    • Pull Requests as code reviews
    • command line tool
    • Jenkins GitHub pull request builder plugin

    View Slide

  8. @mrtazz
    Code Reviews

    View Slide

  9. View Slide

  10. @mrtazz
    The Bobs
    • > 350 LXC virtualized hosts
    • 14 per physical hosts
    • Spread over 3 SSDs
    • Most of them attached to try

    View Slide

  11. @mrtazz
    Mobile CI
    • 25 Mac Minis
    • Runs Android and iOS toolchain
    • Lint and build
    • Unit and functional tests
    • Automated with Chef

    View Slide

  12. View Slide

  13. https://www.flickr.com/photos/callender/14012598808/

    View Slide

  14. View Slide

  15. @mrtazz
    Put a dashboard on it

    View Slide

  16. @mrtazz
    Summary and Future
    • Big improvement for visibility and
    testability
    • Repeatable tests
    • Expand testing (e.g. physical devices)
    • Improve automation
    • Deployment!

    View Slide

  17. http://codeascraft.com
    !
    http://codeascraft.com/2014/02/28/etsys-journey-to-
    continuous-integration-for-mobile-apps/
    !
    http://codeascraft.com/2013/08/09/mobile-device-lab/
    !
    https://www.etsy.com/careers

    View Slide

  18. Mobile CI at Etsy
    Daniel Schauenberg
    [email protected]

    View Slide