Distribute builds for a new HA
This document describes what needs to be done in Bitirse/AppCenter to start distributing builds for a new HA.
iOS:
Follow steps here: https://pathcheck.atlassian.net/wiki/x/DoDsIw
Android:
Create new apps in AppCenter.
We need new apps for Alpha/Beta/Production tracks.
You only need to copy the last URL segment, it will be used by Bitrise. For example, if the URL is https://appcenter.ms/orgs/PathCheck/apps/pathcheck-bt-cyprus you will use pathcheck-bt-cyprus
Create a new keystore from Android Studio and save it in this Google Drive folder (just to keep it in case we lose access to the secrets stored in Bitrise).
Add 3 new workflows to bitrise.io:
deploy-[newha]-android-release:
after_run:
- run_from_repo
deploy-[newha]-android-staging:
after_run:
- run_from_repo
deploy-[newha]-android-debug:
after_run:
- run_from_repo
Add those 3 workflows to pathcheck-mobile-resources. Copy the steps from the other workflows and edit the environment variables.
Add the keystore and keystore password to Bitrise secrets. To encode the keystore in base64 run
openssl base64 -A -in key.jks
locally and copy the output.Add references to the new workflows in
deploy-android-release
,deploy-android-release-candidates
,deploy-android-staging
anddeploy-android-debug