React Native DevOps Guide

The comprehensive guide to create build, test, and release flows for React Native, with Jenkins and Fastlane automation. JavaScript and Shell used as the ‘glue’ between Jenkins, Fastlane, and the Jenkins agent.

Content

Part 1: Setting up a Jenkins agent
Part 2: Minimizing build failures
Part 3: Running iOS builds
Part 4: Running Android builds

Jenkins artwork by Ksenia Nenashevahttps://jenkins.io/

Introduction

Anyone who has released a React Native project knows that development is fast paced and fun, while devops is time consuming, error prone, and challenging to get right. React Native (RN) development is very young compared to native app development. Couple RN’s youth with 4 week release cycles, fluctuating infrastructure requirements, and 3rd party dependency management — there are a lot of places outside of JavaScript land where developers can introduce bugs.

What are we building?

Here’s the high level flow diagram for the entire system. Each part of the tutorial will address a portion of the system diagram below.

React Native DevOps System Diagram

What to expect

Each section is broken down into two parts — concepts and walkthrough.

  • Walkthroughs have step-by-step instructions and companion code.

Prerequisites

The series assumes you have access to the following.

  • Familiarity with RN deployments
  • Jenkins master, permissions to add agents, change jobs
  • GitHub repository, permissions to add new users to the repo

Former Lead Mobile Developer @ Earn.com, acquired by Coinbase. Stuff I love: React Native, DevOps, JS, 3D Printing, Skiing, Motorcycles, Music

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store