Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| Passed |
Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| 1 | % Total % Received % Xferd Average Speed Time Time Time Current |
|---|---|
| 2 | Dload Upload Total Spent Left Speed |
| 3 | |
| 4 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
| 5 | 100 1175 100 811 100 364 4634 2080 --:--:-- --:--:-- --:--:-- 6714 |
| 6 |
| 1 | [INFO] including .env file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-79/repo/libre-busto |
| 4 | Calculating sha256sum of: |
| 5 | ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 6 | File info |
| 7 | -rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 24928502 May 9 15:18 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 8 | Cleaning old builds |
| 9 | Update checksums |
| 10 | Published here: |
| 11 | https://lab.reyboz.it/builds/libre-busto/D190-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | ⚙️ Dear Android hackers, please review this promising patch: |
| 14 | https://gitpull\.it/D190 |
| 15 | |
| 16 | Here the related fresh test build: |
| 17 | [Download D190\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/D190\-libre\-busto\.apk) |
| 18 | |
| 19 | APK sha256: |
| 20 | `64a45dca7cbad5979e934ebf30f85a96b56bd021da887bd0ae877ca180dc339b` |
| 21 | {"ok":true,"result":{"message_id":8210,"from":{"id":7507357656,"is_bot":true,"first_name":"GitPull.it Phorge bot","username":"gitpullit_phorge_bot"},"chat":{"id":-1001282771908,"title":"Libre BusTO dev community ediscion","username":"librebusto_dev","type":"supergroup"},"date":1746796736,"text":"\u2699\ufe0f Dear Android hackers, please review this promising patch:\nhttps://gitpull.it/D190\n\nHere the related fresh test build:\nDownload D190-libre-busto.apk\n\nAPK sha256:\n64a45dca7cbad5979e934ebf30f85a96b56bd021da887bd0ae877ca180dc339b","entities":[{"offset":61,"length":23,"type":"url"},{"offset":121,"length":29,"type":"text_link","url":"https://lab.reyboz.it/builds/libre-busto/D190-libre-busto.apk"},{"offset":164,"length":64,"type":"code"}],"link_preview_options":{"url":"https://gitpull.it/D190"}}}Adding bipbop Comment to D190 |
| 22 | Cleaning |
| 23 | Done |
| 24 |
| Passed |
| 1197 | 23417336 res/yd.png (OK) |
|---|---|
| 1198 | 23429272 res/yg.9.png (OK) |
| 1199 | 23429707 res/yj.xml (OK - compressed) |
| 1200 | 23430104 res/yn.png (OK) |
| 1201 | 23432588 res/z-.9.png (OK) |
| 1202 | 23432852 res/z9.9.png (OK) |
| 1203 | 23433312 res/zE.png (OK) |
| 1204 | 23433676 res/zG.xml (OK - compressed) |
| 1205 | 23433996 res/zR.png (OK) |
| 1206 | 23436797 res/zR.xml (OK - compressed) |
| 1207 | 23437288 res/zV.9.png (OK) |
| 1208 | 23439791 res/zc.xml (OK - compressed) |
| 1209 | 23440240 res/ze.png (OK) |
| 1210 | 23448595 res/zp.xml (OK - compressed) |
| 1211 | 23448853 res/zq.xml (OK - compressed) |
| 1212 | 23449164 res/zr.png (OK) |
| 1213 | 23451983 res/zs.xml (OK - compressed) |
| 1214 | 23452255 res/zu.xml (OK - compressed) |
| 1215 | 23453285 res/zv.xml (OK - compressed) |
| 1216 | 23454561 res/zz.xml (OK - compressed) |
| 1217 | 23454752 resources.arsc (OK) |
| 1218 | Verification succesful |
| 1219 | Signing APK |
| 1220 | Sign concluded with exit status 0 |
| 1221 |
| Passed |
This step will build an .apk using Gradle using this fantastic Docker image:
https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu
Source code of this build step:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/fdroid-docker-builder.sh
TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.
| 14 | <uses-permission> element there. A typical path to a debug manifest |
|---|---|
| 15 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 16 | |
| 17 | /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:132: Error: Expected non-nullable value [NullSafeMutableLiveData from androidx.lifecycle] |
| 18 | palinaLiveData.postValue(palina) |
| 19 | ~~~~~~ |
| 20 | |
| 21 | Explanation for issues of type "NullSafeMutableLiveData": |
| 22 | This check ensures that LiveData values are not null when explicitly |
| 23 | declared as non-nullable. |
| 24 | |
| 25 | Kotlin interoperability does not support enforcing explicit |
| 26 | null-safety when using generic Java type parameters. Since |
| 27 | LiveData is a Java class its value can always be null even |
| 28 | when its type is explicitly declared as non-nullable. This can lead |
| 29 | to runtime exceptions from reading a null LiveData value that is |
| 30 | assumed to be non-nullable. |
| 31 | |
| 32 | Vendor: Android Open Source Project |
| 33 | Identifier: androidx.lifecycle |
| 34 | Feedback: https://issuetracker.google.com/issues/new?component=413132 |
| 35 | |
| 36 | 2 errors, 0 warnings |
| 37 | |
| 38 |
| 88 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'. |
|---|---|
| 89 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'. |
| 90 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null. |
| 91 | |
| 92 | > Task :app:compileGitpullJavaWithJavac |
| 93 | |
| 94 | > Task :app:generateGitpullLintVitalReportModel |
| 95 | > Task :app:dexBuilderGitpull |
| 96 | > Task :app:processGitpullJavaRes |
| 97 | > Task :app:mergeGitpullGlobalSynthetics |
| 98 | > Task :app:mergeGitpullJavaResource |
| 99 | > Task :app:mergeDexGitpull |
| 100 | > Task :app:compileGitpullArtProfile |
| 101 | > Task :app:packageGitpull |
| 102 | > Task :app:createGitpullApkListingFileRedirect |
| 103 | > Task :app:lintVitalAnalyzeGitpull |
| 104 | > Task :app:lintVitalReportGitpull |
| 105 | |
| 106 | > Task :app:lintVitalGitpull |
| 107 | |
| 108 | > Task :app:assembleGitpull |
| 109 | |
| 110 | BUILD SUCCESSFUL in 3m 18s |
| 111 | 55 actionable tasks: 55 executed |
| 112 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | > Task :app:clean |
| 4 | |
| 5 | BUILD SUCCESSFUL in 11s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |