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 542 100 150 100 392 1515 3959 --:--:-- --:--:-- --:--:-- 5474 |
| 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 25067766 Apr 7 14:26 ./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/maplibre~3-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *Update Gradle Plugin* |
| 14 | https://gitpull\.it/R4:4fb995688bb765e4e5683322721bb54a5dcb1170 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download maplibre~3\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/maplibre~3\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `c01acf0f5a3fcb0fac1d2249f1216a07cb4ad22c47ea94b7a074c2e4cb4f674a` |
| 21 | {"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Character ']' is reserved and must be escaped with the preceding '\\'"}Cleaning |
| 22 | Done |
| 23 |
| Passed |
| 1254 | 23539003 res/xQ.xml (OK - compressed) |
|---|---|
| 1255 | 23539492 res/xR.9.png (OK) |
| 1256 | 23539728 res/xa.9.png (OK) |
| 1257 | 23539989 res/xa.xml (OK - compressed) |
| 1258 | 23540551 res/xd.xml (OK - compressed) |
| 1259 | 23541263 res/xj.xml (OK - compressed) |
| 1260 | 23541555 res/xo.xml (OK - compressed) |
| 1261 | 23541842 res/xq.xml (OK - compressed) |
| 1262 | 23542229 res/xz.xml (OK - compressed) |
| 1263 | 23543420 res/y-.xml (OK - compressed) |
| 1264 | 23543688 res/y3.png (OK) |
| 1265 | 23551390 res/y4.xml (OK - compressed) |
| 1266 | 23551646 res/y9.xml (OK - compressed) |
| 1267 | 23551911 res/yE.xml (OK - compressed) |
| 1268 | 23552168 res/yH.9.png (OK) |
| 1269 | 23552392 res/yO.xml (OK - compressed) |
| 1270 | 23552642 res/yT.xml (OK - compressed) |
| 1271 | 23552961 res/yV.xml (OK - compressed) |
| 1272 | 23553304 res/yY.9.png (OK) |
| 1273 | 23553530 res/yY.xml (OK - compressed) |
| 1274 | 23553816 res/ya.xml (OK - compressed) |
| 1275 | 23554176 res/yd.png (OK) |
| 1276 | 23566112 res/ye.png (OK) |
| 1277 | 23567308 res/yg.9.png (OK) |
| 1278 | 23567743 res/yj.xml (OK - compressed) |
| 1279 | 23568140 res/yn.png (OK) |
| 1280 | 23570624 res/z-.9.png (OK) |
| 1281 | 23570888 res/z9.9.png (OK) |
| 1282 | 23571348 res/zE.png (OK) |
| 1283 | 23571712 res/zG.xml (OK - compressed) |
| 1284 | 23572032 res/zL.png (OK) |
| 1285 | 23572280 res/zP.png (OK) |
| 1286 | 23590240 res/zR.png (OK) |
| 1287 | 23593041 res/zR.xml (OK - compressed) |
| 1288 | 23593532 res/zV.9.png (OK) |
| 1289 | 23596036 res/zZ.png (OK) |
| 1290 | 23602731 res/zc.xml (OK - compressed) |
| 1291 | 23603180 res/ze.png (OK) |
| 1292 | 23611535 res/zp.xml (OK - compressed) |
| 1293 | 23611793 res/zq.xml (OK - compressed) |
| 1294 | 23612104 res/zr.png (OK) |
| 1295 | 23614923 res/zs.xml (OK - compressed) |
| 1296 | 23615195 res/zu.xml (OK - compressed) |
| 1297 | 23616228 res/zz.png (OK) |
| 1298 | 23617152 res/zz.xml (OK - compressed) |
| 1299 | 23617344 resources.arsc (OK) |
| 1300 | Verification succesful |
| 1301 | Signing APK |
| 1302 | Sign concluded with exit status 0 |
| 1303 |
| 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
| 1 | Note: Some input files use or override a deprecated API. |
|---|---|
| 2 | Note: Recompile with -Xlint:deprecation for details. |
| 3 | /var/drydock/workingcopy-79/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:4: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation] |
| 4 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 6 | |
| 7 | Explanation for issues of type "MockLocation": |
| 8 | Using a mock location provider (by requiring the permission |
| 9 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 10 | builds (or from tests). In Gradle projects, that means you should only |
| 11 | request this permission in a test or debug source set specific manifest |
| 12 | file. |
| 13 | |
| 14 | To fix this, create a new manifest file in the debug folder and move the |
| 15 | <uses-permission> element there. A typical path to a debug manifest |
| 16 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 17 | |
| 18 | 1 errors, 0 warnings |
| 19 | |
| 20 |
| 15942 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:164:25 Variable 'name' is never used |
|---|---|
| 15943 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:244:29 Parameter 'style' is never used |
| 15944 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:84:27 Parameter 'cont' is never used, could be renamed to _ |
| 15945 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:36 Parameter 'view' is never used, could be renamed to _ |
| 15946 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:42 Parameter 'motionEvent' is never used, could be renamed to _ |
| 15947 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:88:17 Variable 'layPars' is never used |
| 15948 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:27 'LocationProvider' is deprecated. Deprecated in Java |
| 15949 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:44 'OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java |
| 15950 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:72 'LocationProvider' is deprecated. Deprecated in Java |
| 15951 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:89 'TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java |
| 15952 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:187:34 'LocationProvider' is deprecated. Deprecated in Java |
| 15953 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:187:51 'AVAILABLE: Int' is deprecated. Deprecated in Java |
| 15954 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:215:48 'Criteria' is deprecated. Deprecated in Java |
| 15955 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:50:43 Variable 'map' initializer is redundant |
| 15956 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast: Any! to Map<String?, Any>? |
| 15957 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:71:51 No cast needed |
| 15958 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:73:49 No cast needed |
| 15959 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:75:46 No cast needed |
| 15960 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:77:48 No cast needed |
| 15961 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:79:48 No cast needed |
| 15962 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:81:42 No cast needed |
| 15963 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast: Any to Set<String?> |
| 15964 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:271:29 Parameter 'req' is never used, could be renamed to _ |
| 15965 | |
| 15966 | > Task :app:compileGitpullJavaWithJavac |
| 15967 | |
| 15968 | > Task :app:lintVitalAnalyzeGitpull |
| 15969 | > Task :app:dexBuilderGitpull |
| 15970 | > Task :app:mergeGitpullGlobalSynthetics |
| 15971 | > Task :app:processGitpullJavaRes |
| 15972 | > Task :app:mergeGitpullJavaResource |
| 15973 | > Task :app:mergeDexGitpull |
| 15974 | > Task :app:compileGitpullArtProfile |
| 15975 | > Task :app:packageGitpull |
| 15976 | > Task :app:createGitpullApkListingFileRedirect |
| 15977 | > Task :app:lintVitalReportGitpull |
| 15978 | |
| 15979 | > Task :app:lintVitalGitpull |
| 15980 | |
| 15981 | > Task :app:assembleGitpull |
| 15982 | |
| 15983 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 15984 | |
| 15985 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 15986 | |
| 15987 | For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 15988 | |
| 15989 | BUILD SUCCESSFUL in 5m 26s |
| 15990 | 45 actionable tasks: 45 executed |
| 15991 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Downloading missing gradle version 8.7 |
| 3 | cachedir |
| 4 | /tmp/tmp.9xCXQ7gDBa/gradle-8.7-bin.zip: OK |
| 5 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 6 | |
| 7 | Welcome to Gradle 8.7! |
| 8 | |
| 9 | Here are the highlights of this release: |
| 10 | - Compiling and testing with Java 22 |
| 11 | - Cacheable Groovy script compilation |
| 12 | - New methods in lazy collection properties |
| 13 | |
| 14 | For more details see https://docs.gradle.org/8.7/release-notes.html |
| 15 | |
| 16 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 17 | > Task :app:clean |
| 18 | |
| 19 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 20 | |
| 21 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 22 | |
| 23 | For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 24 | |
| 25 | BUILD SUCCESSFUL in 46s |
| 26 | 1 actionable task: 1 executed |
| 27 |
| Passed |
| Passed |