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 | PHP Warning: unlink(./app/build/outputs/apk/gitpull/app-gitpull-signed.apk): No such file or directory in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 177 |
|---|---|
| 2 |
| 1 | [INFO] including /home/phabricator-android-builder/.phorge_bot_telegram_config file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-112/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 25177957 May 14 00:00 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 8 | Cleaning old builds |
| 9 | Published here: |
| 10 | https://lab.reyboz.it/builds/libre-busto/586~2-libre-busto.apk |
| 11 | DEBUG TELEGRAM CONTENT |
| 12 | 🌚 New commit: *'Put changed text in LinesDetailFragment too'* |
| 13 | https://gitpull.it/R4:4ba4872a0cf09db8de562b61940e7418081d0e23 |
| 14 | |
| 15 | Try this fresh test APK: |
| 16 | [Download '586~2-libre-busto.apk']('https://lab.reyboz.it/builds/libre-busto/586~2-libre-busto.apk') |
| 17 | |
| 18 | APK fingerprint sha256: |
| 19 | `0d28250c9ff751955e4c52a3674b373336f0e11de124a379bb0ef17b38076a40` |
| 20 | Cleaning |
| 21 | |
| 22 | Warning: unlink(./app/build/outputs/apk/gitpull/app-gitpull-signed.apk): No such file or directory in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 177 |
| 23 | Done |
| 24 |
| Passed |
| 1193 | 23693632 res/yd.png (OK) |
|---|---|
| 1194 | 23705568 res/yg.9.png (OK) |
| 1195 | 23706003 res/yj.xml (OK - compressed) |
| 1196 | 23706400 res/yn.png (OK) |
| 1197 | 23708884 res/z-.9.png (OK) |
| 1198 | 23709148 res/z9.9.png (OK) |
| 1199 | 23709608 res/zE.png (OK) |
| 1200 | 23709972 res/zG.xml (OK - compressed) |
| 1201 | 23710292 res/zR.png (OK) |
| 1202 | 23713093 res/zR.xml (OK - compressed) |
| 1203 | 23713584 res/zV.9.png (OK) |
| 1204 | 23716087 res/zc.xml (OK - compressed) |
| 1205 | 23716536 res/ze.png (OK) |
| 1206 | 23724891 res/zp.xml (OK - compressed) |
| 1207 | 23725148 res/zq.xml (OK - compressed) |
| 1208 | 23725460 res/zr.png (OK) |
| 1209 | 23728279 res/zs.xml (OK - compressed) |
| 1210 | 23728551 res/zu.xml (OK - compressed) |
| 1211 | 23729582 res/zv.xml (OK - compressed) |
| 1212 | 23730859 res/zz.xml (OK - compressed) |
| 1213 | 23731052 resources.arsc (OK) |
| 1214 | Verification succesful |
| 1215 | Signing APK |
| 1216 | Sign concluded with exit status 0 |
| 1217 |
| 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-112/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 |
| 92 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'. |
|---|---|
| 93 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'. |
| 94 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null. |
| 95 | |
| 96 | > Task :app:compileGitpullJavaWithJavac |
| 97 | |
| 98 | > Task :app:generateGitpullLintVitalReportModel |
| 99 | > Task :app:dexBuilderGitpull |
| 100 | > Task :app:mergeGitpullGlobalSynthetics |
| 101 | > Task :app:processGitpullJavaRes |
| 102 | > Task :app:mergeGitpullJavaResource |
| 103 | > Task :app:mergeDexGitpull |
| 104 | > Task :app:compileGitpullArtProfile |
| 105 | > Task :app:packageGitpull |
| 106 | > Task :app:createGitpullApkListingFileRedirect |
| 107 | > Task :app:lintVitalAnalyzeGitpull |
| 108 | > Task :app:lintVitalReportGitpull |
| 109 | |
| 110 | > Task :app:lintVitalGitpull |
| 111 | |
| 112 | > Task :app:assembleGitpull |
| 113 | |
| 114 | BUILD SUCCESSFUL in 3m 8s |
| 115 | 51 actionable tasks: 51 executed |
| 116 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details |
| 4 | |
| 5 | > Configure project :app |
| 6 | WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. |
| 7 | The current default is 'false'. |
| 8 | It will be removed in version 9.0 of the Android Gradle plugin. |
| 9 | To keep using this feature, add the following to your module-level build.gradle files: |
| 10 | android.buildFeatures.buildConfig = true |
| 11 | or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`. |
| 12 | |
| 13 | > Task :app:clean |
| 14 | |
| 15 | BUILD SUCCESSFUL in 20s |
| 16 | 1 actionable task: 1 executed |
| 17 |
| Passed |
| Passed |