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 1312 100 918 100 394 5847 2509 --:--:-- --:--:-- --:--:-- 8356 |
| 6 |
| 1 | [INFO] including .env 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 7 12:03 ./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/HEAD-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *Translated using Weblate \(Dutch\)* |
| 14 | https://gitpull\.it/R4:5e98352443e9b815658ac2d84c5e03ffad6f6a31 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download HEAD\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/HEAD\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `23334f323273bd6cd3053c23718c58070ac27c5f2823fca589eca6bc7a699528` |
| 21 | {"ok":true,"result":{"message_id":8178,"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":1746612212,"text":"\ud83c\udf1a New commit: Translated using Weblate (Dutch)\nhttps://gitpull.it/R4:5e98352443e9b815658ac2d84c5e03ffad6f6a31\n\nTry this fresh test APK:\nDownload HEAD-libre-busto.apk\n\nAPK fingerprint sha256:\n23334f323273bd6cd3053c23718c58070ac27c5f2823fca589eca6bc7a699528","entities":[{"offset":15,"length":32,"type":"bold"},{"offset":48,"length":62,"type":"url"},{"offset":137,"length":29,"type":"text_link","url":"https://lab.reyboz.it/builds/libre-busto/HEAD-libre-busto.apk"},{"offset":192,"length":64,"type":"code"}],"link_preview_options":{"url":"https://gitpull.it/R4:5e98352443e9b815658ac2d84c5e03ffad6f6a31"}}}Cleaning |
| 22 | Done |
| 23 |
| Passed |
| 1193 | 23693808 res/yd.png (OK) |
|---|---|
| 1194 | 23705744 res/yg.9.png (OK) |
| 1195 | 23706179 res/yj.xml (OK - compressed) |
| 1196 | 23706576 res/yn.png (OK) |
| 1197 | 23709060 res/z-.9.png (OK) |
| 1198 | 23709324 res/z9.9.png (OK) |
| 1199 | 23709784 res/zE.png (OK) |
| 1200 | 23710148 res/zG.xml (OK - compressed) |
| 1201 | 23710468 res/zR.png (OK) |
| 1202 | 23713269 res/zR.xml (OK - compressed) |
| 1203 | 23713760 res/zV.9.png (OK) |
| 1204 | 23716263 res/zc.xml (OK - compressed) |
| 1205 | 23716712 res/ze.png (OK) |
| 1206 | 23725067 res/zp.xml (OK - compressed) |
| 1207 | 23725324 res/zq.xml (OK - compressed) |
| 1208 | 23725636 res/zr.png (OK) |
| 1209 | 23728455 res/zs.xml (OK - compressed) |
| 1210 | 23728727 res/zu.xml (OK - compressed) |
| 1211 | 23729758 res/zv.xml (OK - compressed) |
| 1212 | 23731035 res/zz.xml (OK - compressed) |
| 1213 | 23731228 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 |
| 93 | 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'. |
|---|---|
| 94 | 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'. |
| 95 | 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. |
| 96 | |
| 97 | > Task :app:compileGitpullJavaWithJavac |
| 98 | |
| 99 | > Task :app:generateGitpullLintVitalReportModel |
| 100 | > Task :app:dexBuilderGitpull |
| 101 | > Task :app:processGitpullJavaRes |
| 102 | > Task :app:mergeGitpullGlobalSynthetics |
| 103 | > Task :app:mergeGitpullJavaResource |
| 104 | > Task :app:mergeDexGitpull |
| 105 | > Task :app:compileGitpullArtProfile |
| 106 | > Task :app:packageGitpull |
| 107 | > Task :app:createGitpullApkListingFileRedirect |
| 108 | > Task :app:lintVitalAnalyzeGitpull |
| 109 | > Task :app:lintVitalReportGitpull |
| 110 | |
| 111 | > Task :app:lintVitalGitpull |
| 112 | |
| 113 | > Task :app:assembleGitpull |
| 114 | |
| 115 | BUILD SUCCESSFUL in 1m 44s |
| 116 | 51 actionable tasks: 50 executed, 1 up-to-date |
| 117 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | |
| 4 | > Configure project :app |
| 5 | WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. |
| 6 | The current default is 'false'. |
| 7 | It will be removed in version 9.0 of the Android Gradle plugin. |
| 8 | To keep using this feature, add the following to your module-level build.gradle files: |
| 9 | android.buildFeatures.buildConfig = true |
| 10 | or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`. |
| 11 | |
| 12 | > Task :app:clean |
| 13 | |
| 14 | BUILD SUCCESSFUL in 3s |
| 15 | 1 actionable task: 1 executed |
| 16 |
| Passed |
| Passed |