DevOps for Mobile Apps Update - July 29, 2022

Recording

https://youtu.be/VmUFpaJiD84

Mission

DevOps for Mobile Apps Single-Engineer Group

Our goal is to improve the experience for Developers targeting mobile platforms by providing CI/CD capabilities and workflows that improve the experience of provisioning and deploying mobile apps.

Demos like this one are published each week, you can find previous demos and see new ones when they are finished in the Weekly Demos issue.

Current Update - Ngrok Pipeline Debugger

Setup

  • Step 1 - Create an ngrok account and get an Authtoken
  • Step 2 - Add the ngrok authtoken as the NGROK_TOKEN CI variable
  • Step 3 - Add your public SSH key as the PUBLIC_SSH_KEY CI variable
  • Step 4 - Add the CI template to your gitlab-ci.yml file (see the example below)
include:
  remote: https://gitlab.com/gitlab-org/incubation-engineering/devops-for-mobile-apps/demo-mobile-ci-templates/-/raw/main/Ngrok-Pipeline-Debugger.gitlab-ci.yml
ngrok:
  stage: build  
  tags:
    - shared-macos-amd64
  • Step 5 - Run the ngrok job to create the SSH tunnel, and get the ngrok host and port number from the log output.
  • Step 6 - SSH to the ngrok URL to connect to the runner job, for example ssh -p 15753 gitlab@8.tcp.ngrok.io

Demo Project

https://gitlab.com/gitlab-org/incubation-engineering/devops-for-mobile-apps/ios_demo

Edited by Darby Frey