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

CI/CD for React Native

Avatar for Joao Marins Joao Marins
September 25, 2018

CI/CD for React Native

React Native, CI, CD, Continuous Integration, Continuous Delivery, Continuous Deployment

Avatar for Joao Marins

Joao Marins

September 25, 2018
Tweet

More Decks by Joao Marins

Other Decks in Technology

Transcript

  1. Topics 3 - What is CI/CD? - Existing tools -

    Benefits of CI/CD - CI/CD Everywhere - CI/CD & React Native - Circle CI - CI on Branches - CD on Merges - Lint - Type check - Tests: unit & e2e - Fastlane: match & delivery - Build variants - Human factor - Open source - Orbs - What is next? - Questions
  2. 6 Benefits of CI/CD - Automation - Automation - Automation

    - Automation - Automation - Lint - Type check - Tests: unit & e2e - Build (!!!) - Delivery (!!!)
  3. Circle CI 11 - Setup env - Setup Linux -

    Setup Mac - Cache node_modules - Install additional deps - Workflows - Run jobs - Sign in to AWS - Store artifacts - Save tests result (coverage)
  4. Strategies 14 - Every commit should run basic steps -

    Every merge should build alpha versions
  5. Basic Steps 15 - Lint - Type Check - Unit

    Tests - E2E Tests On Circle CI Integration is possible!!!
  6. Fastlane 19 - Match certificates - Build variants: alpha, beta,

    release - Delivery to Test Flight - Delivery to Android Beta Testers
  7. Open Source: Circle CI Orbs 22 “Orbs are packages of

    CircleCI configuration that can be shared across projects. Orbs allow you to make a single bundle of jobs, commands, and executors that can reference each other and can be imported into a CircleCI build configuration and invoked in their own namespace. Orbs are registered with CircleCI, with revisions expressed using the semver pattern.” https://github.com/CircleCI-Public/circleci-orbs#what-are-orbs