Skip to content

Commit

Permalink
Configure CI with crash reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
abb128 committed Sep 16, 2023
1 parent 4abb7ce commit c5b4805
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ buildDev:
tags:
- docker
script:
- ./setUpKeysCI.sh
- ./setUpPropertiesCI.sh
- gradle assembleDevRelease -s
- mv app/build/outputs/apk/dev/release/app-dev-release.apk ./app-release-$CI_COMMIT_SHORT_SHA.apk
- ./sendZulipMessage.sh "New dev build - https://gitlab.futo.org/alex/voiceinput/-/jobs/$CI_JOB_ID/artifacts/raw/app-release-$CI_COMMIT_SHORT_SHA.apk"
- ./sendZulipMessage.sh "New Voice Input dev build - https://gitlab.futo.org/alex/voiceinput/-/jobs/$CI_JOB_ID/artifacts/raw/app-release-$CI_COMMIT_SHORT_SHA.apk"
artifacts:
name: "app-release-$CI_COMMIT_SHORT_SHA"
paths:
Expand All @@ -37,7 +37,7 @@ buildRelease:
tags:
- docker
script:
- ./setUpKeysCI.sh
- ./setUpPropertiesCI.sh
- gradle bundlePlayStoreRelease -s
- gradle assembleStandaloneRelease -s
- mv app/build/outputs/bundle/playStoreRelease/app-playStore-release.aab ./playStore.aab
Expand Down
4 changes: 3 additions & 1 deletion setUpKeysCI.sh → setUpPropertiesCI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ echo ${KEYSTORE_FILE?Need keystore file} | base64 --decode > key.jks
echo storePassword=${KEYSTORE_PASSWORD?Need keystore password} > keystore.properties
echo keyPassword=${KEY_PASSWORD?Need key password} >> keystore.properties
echo keyAlias=${KEYSTORE_ALIAS?Need key alias} >> keystore.properties
echo storeFile=key.jks >> keystore.properties
echo storeFile=key.jks >> keystore.properties

echo ${CRASHREPORTING_FILE?Need crash reporting file} | base64 --decode > crashreporting.properties

0 comments on commit c5b4805

Please sign in to comment.