Feature/firebase - CU-86bwg2a08
The following PR deals with uploads to google firebase for android .apks.
We will require 2 new CI/CD variables for this:
- FIREBASE_CREDENTIALS
- FIREBASE_PROJECT_ID
How the logic works, if the ANDROID_FIREBASE_APP_ID is not set, then the firebase job will use the firebase CLI to create the new app, and then using the gitlab CLI it will create the ANDROID_FIREBASE_APP_ID CI/CD variable with an appropriate value and never try to create the app again. Another variable ANDROID_FIREBASE_CONFIG is created to house the google-services.json file contents.
The motivation for creating state in the CI/CD variables is to try minimise our interactions with the firebase API.
All testing was done here: https://gitlab.builder.ai/clientprojects/assembler_projects/prd/devops-gvdm-1700669555371--10576-react-native/-/pipelines
Login url for firebase console: https://console.firebase.google.com/
ClickUP: https://app.clickup.com/t/86bwg2a08