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 560 100 150 100 410 1744 4767 --:--:-- --:--:-- --:--:-- 6511 |
| 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 25182958 May 2 12:50 ./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~1-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *Show line in the direction of the stop* |
| 14 | https://gitpull\.it/R4:5f4f8cc3e6d8f7bb13a2b3fd850c850df8010189 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download maplibre~1\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/maplibre~1\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `a2626b47d96d65b110c9f5410bb3aaa47e3e7c9ca303d6b5391730e294535093` |
| 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 |
| 1262 | 23648800 res/xR.9.png (OK) |
|---|---|
| 1263 | 23649036 res/xa.9.png (OK) |
| 1264 | 23649297 res/xa.xml (OK - compressed) |
| 1265 | 23649858 res/xd.xml (OK - compressed) |
| 1266 | 23650570 res/xj.xml (OK - compressed) |
| 1267 | 23650862 res/xo.xml (OK - compressed) |
| 1268 | 23651149 res/xq.xml (OK - compressed) |
| 1269 | 23651536 res/xz.xml (OK - compressed) |
| 1270 | 23652725 res/y-.xml (OK - compressed) |
| 1271 | 23652996 res/y3.png (OK) |
| 1272 | 23660698 res/y4.xml (OK - compressed) |
| 1273 | 23660954 res/y9.xml (OK - compressed) |
| 1274 | 23661223 res/yE.xml (OK - compressed) |
| 1275 | 23661480 res/yH.9.png (OK) |
| 1276 | 23661704 res/yO.xml (OK - compressed) |
| 1277 | 23661954 res/yT.xml (OK - compressed) |
| 1278 | 23662274 res/yV.xml (OK - compressed) |
| 1279 | 23662616 res/yY.9.png (OK) |
| 1280 | 23662842 res/yY.xml (OK - compressed) |
| 1281 | 23663128 res/ya.xml (OK - compressed) |
| 1282 | 23663488 res/yd.png (OK) |
| 1283 | 23675424 res/ye.png (OK) |
| 1284 | 23676620 res/yg.9.png (OK) |
| 1285 | 23677055 res/yj.xml (OK - compressed) |
| 1286 | 23677452 res/yn.png (OK) |
| 1287 | 23679936 res/z-.9.png (OK) |
| 1288 | 23680200 res/z9.9.png (OK) |
| 1289 | 23680660 res/zE.png (OK) |
| 1290 | 23681024 res/zG.xml (OK - compressed) |
| 1291 | 23681344 res/zL.png (OK) |
| 1292 | 23681592 res/zP.png (OK) |
| 1293 | 23699552 res/zR.png (OK) |
| 1294 | 23702353 res/zR.xml (OK - compressed) |
| 1295 | 23702844 res/zV.9.png (OK) |
| 1296 | 23705348 res/zZ.png (OK) |
| 1297 | 23712043 res/zc.xml (OK - compressed) |
| 1298 | 23712492 res/ze.png (OK) |
| 1299 | 23720847 res/zp.xml (OK - compressed) |
| 1300 | 23721105 res/zq.xml (OK - compressed) |
| 1301 | 23721416 res/zr.png (OK) |
| 1302 | 23724235 res/zs.xml (OK - compressed) |
| 1303 | 23724507 res/zu.xml (OK - compressed) |
| 1304 | 23725537 res/zv.xml (OK - compressed) |
| 1305 | 23726816 res/zz.png (OK) |
| 1306 | 23727740 res/zz.xml (OK - compressed) |
| 1307 | 23727932 resources.arsc (OK) |
| 1308 | Verification succesful |
| 1309 | Signing APK |
| 1310 | Sign concluded with exit status 0 |
| 1311 |
| 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 |
| 130 | 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 |
|---|---|
| 131 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:391:21 Variable 'name' is never used |
| 132 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:802:13 Variable 'symbolsToUpdate' is never used |
| 133 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:806: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:999: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:1113: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:212:17 Variable 'posUp' is never used |
| 157 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:332:29 Parameter 'req' is never used, could be renamed to _ |
| 158 | |
| 159 | > Task :app:compileGitpullJavaWithJavac |
| 160 | |
| 161 | > Task :app:generateGitpullLintVitalReportModel |
| 162 | > Task :app:dexBuilderGitpull |
| 163 | > Task :app:mergeGitpullGlobalSynthetics |
| 164 | > Task :app:processGitpullJavaRes |
| 165 | > Task :app:mergeGitpullJavaResource |
| 166 | > Task :app:lintVitalAnalyzeGitpull |
| 167 | > Task :app:mergeDexGitpull |
| 168 | > Task :app:compileGitpullArtProfile |
| 169 | > Task :app:packageGitpull |
| 170 | > Task :app:createGitpullApkListingFileRedirect |
| 171 | > Task :app:lintVitalReportGitpull |
| 172 | |
| 173 | > Task :app:lintVitalGitpull |
| 174 | |
| 175 | > Task :app:assembleGitpull |
| 176 | |
| 177 | BUILD SUCCESSFUL in 3m 58s |
| 178 | 50 actionable tasks: 49 executed, 1 up-to-date |
| 179 |
| 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 25s |
| 14 | 1 actionable task: 1 executed |
| 15 |
| Passed |
| Passed |