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 1350 100 937 100 413 6741 2971 --:--:-- --:--:-- --:--:-- 9712 |
| 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 25137707 Apr 23 22:09 ./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-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *gradle: try to increase max memory heap \(2\)* |
| 14 | https://gitpull\.it/R4:4ca747c3d6e005e776d28b66ba3a5fc7a2217346 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download maplibre\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/maplibre\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `be605cbf309cb0335119e39a7f5bff48cc58e95a3750628b51699e52b77b4aaf` |
| 21 | {"ok":true,"result":{"message_id":7944,"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":1745438976,"text":"\ud83c\udf1a New commit: gradle: try to increase max memory heap (2)\nhttps://gitpull.it/R4:4ca747c3d6e005e776d28b66ba3a5fc7a2217346\n\nTry this fresh test APK:\nDownload maplibre-libre-busto.apk\n\nAPK fingerprint sha256:\nbe605cbf309cb0335119e39a7f5bff48cc58e95a3750628b51699e52b77b4aaf","entities":[{"offset":15,"length":43,"type":"bold"},{"offset":59,"length":62,"type":"url"},{"offset":148,"length":33,"type":"text_link","url":"https://lab.reyboz.it/builds/libre-busto/maplibre-libre-busto.apk"},{"offset":207,"length":64,"type":"code"}],"link_preview_options":{"url":"https://gitpull.it/R4:4ca747c3d6e005e776d28b66ba3a5fc7a2217346"}}}Cleaning |
| 22 | Done |
| 23 |
| Passed |
| 1259 | 23606836 res/xR.9.png (OK) |
|---|---|
| 1260 | 23607072 res/xa.9.png (OK) |
| 1261 | 23607333 res/xa.xml (OK - compressed) |
| 1262 | 23607895 res/xd.xml (OK - compressed) |
| 1263 | 23608607 res/xj.xml (OK - compressed) |
| 1264 | 23608899 res/xo.xml (OK - compressed) |
| 1265 | 23609186 res/xq.xml (OK - compressed) |
| 1266 | 23609573 res/xz.xml (OK - compressed) |
| 1267 | 23610763 res/y-.xml (OK - compressed) |
| 1268 | 23611032 res/y3.png (OK) |
| 1269 | 23618734 res/y4.xml (OK - compressed) |
| 1270 | 23618990 res/y9.xml (OK - compressed) |
| 1271 | 23619259 res/yE.xml (OK - compressed) |
| 1272 | 23619516 res/yH.9.png (OK) |
| 1273 | 23619740 res/yO.xml (OK - compressed) |
| 1274 | 23619990 res/yT.xml (OK - compressed) |
| 1275 | 23620309 res/yV.xml (OK - compressed) |
| 1276 | 23620652 res/yY.9.png (OK) |
| 1277 | 23620878 res/yY.xml (OK - compressed) |
| 1278 | 23621164 res/ya.xml (OK - compressed) |
| 1279 | 23621524 res/yd.png (OK) |
| 1280 | 23633460 res/ye.png (OK) |
| 1281 | 23634656 res/yg.9.png (OK) |
| 1282 | 23635091 res/yj.xml (OK - compressed) |
| 1283 | 23635488 res/yn.png (OK) |
| 1284 | 23637972 res/z-.9.png (OK) |
| 1285 | 23638236 res/z9.9.png (OK) |
| 1286 | 23638696 res/zE.png (OK) |
| 1287 | 23639060 res/zG.xml (OK - compressed) |
| 1288 | 23639380 res/zL.png (OK) |
| 1289 | 23639628 res/zP.png (OK) |
| 1290 | 23657588 res/zR.png (OK) |
| 1291 | 23660389 res/zR.xml (OK - compressed) |
| 1292 | 23660880 res/zV.9.png (OK) |
| 1293 | 23663384 res/zZ.png (OK) |
| 1294 | 23670079 res/zc.xml (OK - compressed) |
| 1295 | 23670528 res/ze.png (OK) |
| 1296 | 23678883 res/zp.xml (OK - compressed) |
| 1297 | 23679141 res/zq.xml (OK - compressed) |
| 1298 | 23679452 res/zr.png (OK) |
| 1299 | 23682271 res/zs.xml (OK - compressed) |
| 1300 | 23682543 res/zu.xml (OK - compressed) |
| 1301 | 23683573 res/zv.xml (OK - compressed) |
| 1302 | 23684852 res/zz.png (OK) |
| 1303 | 23685776 res/zz.xml (OK - compressed) |
| 1304 | 23685968 resources.arsc (OK) |
| 1305 | Verification succesful |
| 1306 | Signing APK |
| 1307 | Sign concluded with exit status 0 |
| 1308 |
| 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.
| 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 |
| 129 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:647:12 Unnecessary non-null assertion (!!) on a non-null receiver of type MapView |
|---|---|
| 130 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:674:63 Parameter 'mapView' is never used, could be renamed to _ |
| 131 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:686:20 Unnecessary non-null assertion (!!) on a non-null receiver of type MapView |
| 132 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:365:25 Variable 'name' is never used |
| 133 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:742:17 Variable 'animate' is never used |
| 134 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:925:25 'requestSingleUpdate(String, LocationListener, Looper?): Unit' is deprecated. Deprecated in Java |
| 135 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:1059:42 Parameter 'view' is never used |
| 136 | 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 _ |
| 137 | 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 _ |
| 138 | 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 _ |
| 139 | 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 |
| 140 | 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 |
| 141 | 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 |
| 142 | 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 |
| 143 | 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 |
| 144 | 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 |
| 145 | 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 |
| 146 | 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 |
| 147 | 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 |
| 148 | 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>? |
| 149 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:71:51 No cast needed |
| 150 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:73:49 No cast needed |
| 151 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:75:46 No cast needed |
| 152 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:77:48 No cast needed |
| 153 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:79:48 No cast needed |
| 154 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:81:42 No cast needed |
| 155 | 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?> |
| 156 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:272:29 Parameter 'req' is never used, could be renamed to _ |
| 157 | |
| 158 | > Task :app:compileGitpullJavaWithJavac |
| 159 | |
| 160 | > Task :app:generateGitpullLintVitalReportModel |
| 161 | > Task :app:dexBuilderGitpull |
| 162 | > Task :app:processGitpullJavaRes |
| 163 | > Task :app:mergeGitpullGlobalSynthetics |
| 164 | > Task :app:mergeGitpullJavaResource |
| 165 | > Task :app:mergeDexGitpull |
| 166 | > Task :app:compileGitpullArtProfile |
| 167 | > Task :app:packageGitpull |
| 168 | > Task :app:createGitpullApkListingFileRedirect |
| 169 | > Task :app:lintVitalAnalyzeGitpull |
| 170 | > Task :app:lintVitalReportGitpull |
| 171 | |
| 172 | > Task :app:lintVitalGitpull |
| 173 | |
| 174 | > Task :app:assembleGitpull |
| 175 | |
| 176 | BUILD SUCCESSFUL in 3m 3s |
| 177 | 50 actionable tasks: 49 executed, 1 up-to-date |
| 178 |
| 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 | You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files` |
| 10 | |
| 11 | > Task :app:clean |
| 12 | |
| 13 | BUILD SUCCESSFUL in 19s |
| 14 | 1 actionable task: 1 executed |
| 15 |
| Passed |
| Passed |