Skip to content

Mobile CI/CD


Prerequisites

Prerequisites

Fig 1: Prerequisites

Android

  1. After development of the application, the developer initializes fastlane in the project repository. (Fastlane)

  2. All required configurations are done in Fastfile. (Configuration file for Fastlane)

  3. Developer needs to create a certificate manually. (One Time Task)

    Note

    After certificate creation the following needs to be saved to be used as ENV Vars for Gitlab CI/Fastlane

    a. ANDROID_STORE_PASSWORD

    b. ANDROID_KEY_ALIAS

    c. ANDROID_KEY_PASSWORD

  4. Another ENV Var required is authentication token for Firebase (“FIREBASE_TOKEN”). This is provided by the developer. This token is different for each app. (Distribute Android apps to testers using fastlane | Firebase)

  5. The environment variables form #3 and #4 need to be provided to the DevOps looking after the project.

  6. Notification (After build & release).

Android

Fig 2: Android

iOS

  1. After development of the application, the developer initializes fastlane in the project repository. (Fastlane)

  2. All required configurations are done in Fastfile. (Configuration file for Fastlane)

  3. Developer needs to create a certificate manually. (Fastlane match)

    Note

    After certificate creation the following needs to be saved to be used as ENV Vars for Gitlab CI/Fastlane

    a. MATCH_PASSWORD

    b. KEYCHAIN_PASSWORD

    c. DEVELOPER_TEAM_ID

    d. APP_IDENTIFIER

  4. Another ENV Var required is authentication token for Firebase (“FIREBASE_TOKEN”). This is provided by the developer. This token is different for each app. (Firebase configuration)

  5. The environment variables form #3 and #4 need to be provided to the DevOps looking after the project.

  6. Notification (After build & release).

iOS

Fig 3: iOS

  1. Contributors: Nihal Shrestha