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 | Current directory: |
|---|---|
| 2 | /var/drydock/workingcopy-112/repo/libre-busto |
| 3 | Calculating sha256sum of: |
| 4 | ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 5 | File info |
| 6 | -rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 8561731 Jan 28 13:03 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 7 | Cleaning old builds |
| 8 | Update checksums |
| 9 | Published here: |
| 10 | https://lab.reyboz.it/builds/libre-busto/D151-libre-busto.apk |
| 11 | Adding bipbop Comment to D151 |
| 12 | Cleaning |
| 13 | Done |
| 14 |
| Passed |
| 1145 | 7007526 res/uF.xml (OK - compressed) |
|---|---|
| 1146 | 7007788 res/uO.xml (OK - compressed) |
| 1147 | 7008048 res/uP.9.png (OK) |
| 1148 | 7009044 res/uP.xml (OK - compressed) |
| 1149 | 7009412 res/ue.xml (OK - compressed) |
| 1150 | 7009730 res/ug.xml (OK - compressed) |
| 1151 | 7009957 res/uo.xml (OK - compressed) |
| 1152 | 7010320 res/uu.png (OK) |
| 1153 | 7010678 res/uv.xml (OK - compressed) |
| 1154 | 7011053 res/uw.xml (OK - compressed) |
| 1155 | 7011540 res/v2.png (OK) |
| 1156 | 7037295 res/v2.xml (OK - compressed) |
| 1157 | 7037712 res/v3.xml (OK - compressed) |
| 1158 | 7038068 res/v6.9.png (OK) |
| 1159 | 7038302 res/v8.xml (OK - compressed) |
| 1160 | 7038569 res/vD.xml (OK - compressed) |
| 1161 | 7039193 res/vH.xml (OK - compressed) |
| 1162 | 7039830 res/vM.xml (OK - compressed) |
| 1163 | 7040483 res/vO.xml (OK - compressed) |
| 1164 | 7040942 res/vP.xml (OK - compressed) |
| 1165 | 7041452 res/vX.png (OK) |
| 1166 | 7044524 res/va.png (OK) |
| 1167 | 7044886 res/va.xml (OK - compressed) |
| 1168 | 7045336 res/vc.xml (OK - compressed) |
| 1169 | 7045812 res/vd.png (OK) |
| 1170 | 7046119 res/vl.xml (OK - compressed) |
| 1171 | 7046484 res/vn.png (OK) |
| 1172 | 7049826 res/vp.xml (OK - compressed) |
| 1173 | 7050082 res/vt.xml (OK - compressed) |
| 1174 | 7050484 res/vy.9.png (OK) |
| 1175 | 7050750 res/vz.xml (OK - compressed) |
| 1176 | 7051224 res/w0.png (OK) |
| 1177 | 7053919 res/w2.xml (OK - compressed) |
| 1178 | 7054242 res/w7.xml (OK - compressed) |
| 1179 | 7054948 res/wF.png (OK) |
| 1180 | 7058054 res/wG.xml (OK - compressed) |
| 1181 | 7058424 res/wK.9.png (OK) |
| 1182 | 7058676 res/wL.9.png (OK) |
| 1183 | 7058908 res/wN.png (OK) |
| 1184 | 7059172 res/wT.png (OK) |
| 1185 | 7059480 res/wW.png (OK) |
| 1186 | 7059679 res/wW.xml (OK - compressed) |
| 1187 | 7060008 res/wW1.png (OK) |
| 1188 | 7060365 res/wY.xml (OK - compressed) |
| 1189 | 7060732 res/wi.9.png (OK) |
| 1190 | 7062504 res/wi.png (OK) |
| 1191 | 7062680 res/wi1.9.png (OK) |
| 1192 | 7063963 res/wn.xml (OK - compressed) |
| 1193 | 7064415 res/wo.xml (OK - compressed) |
| 1194 | 7064788 res/wz.xml (OK - compressed) |
| 1195 | 7065213 res/x1.xml (OK - compressed) |
| 1196 | 7065496 res/x5.9.png (OK) |
| 1197 | 7065884 res/xB.png (OK) |
| 1198 | 7067180 res/xC.png (OK) |
| 1199 | 7067336 res/xD.png (OK) |
| 1200 | 7067999 res/xF.xml (OK - compressed) |
| 1201 | 7068336 res/xH.png (OK) |
| 1202 | 7084700 res/xM.png (OK) |
| 1203 | 7088568 res/xR.png (OK) |
| 1204 | 7089431 res/xT.xml (OK - compressed) |
| 1205 | 7090008 res/xW.png (OK) |
| 1206 | 7090432 res/xc.xml (OK - compressed) |
| 1207 | 7091026 res/xd.xml (OK - compressed) |
| 1208 | 7091320 res/xp.png (OK) |
| 1209 | 7098015 res/xs.xml (OK - compressed) |
| 1210 | 7098444 res/xw.xml (OK - compressed) |
| 1211 | 7098866 res/xy.xml (OK - compressed) |
| 1212 | 7099416 res/yC.xml (OK - compressed) |
| 1213 | 7100484 res/yO.9.png (OK) |
| 1214 | 7100745 res/yP.xml (OK - compressed) |
| 1215 | 7101336 res/yR.xml (OK - compressed) |
| 1216 | 7102336 res/yX.png (OK) |
| 1217 | 7106686 res/ya.xml (OK - compressed) |
| 1218 | 7107761 res/yf.xml (OK - compressed) |
| 1219 | 7108096 res/yg.webp (OK) |
| 1220 | 7149436 res/yq.png (OK) |
| 1221 | 7150648 res/yw.png (OK) |
| 1222 | 7152452 res/yx.xml (OK - compressed) |
| 1223 | 7152972 res/z1.xml (OK - compressed) |
| 1224 | 7153213 res/z11.xml (OK - compressed) |
| 1225 | 7153568 res/z12.xml (OK - compressed) |
| 1226 | 7153896 res/z3.xml (OK - compressed) |
| 1227 | 7154164 res/z6.png (OK) |
| 1228 | 7155068 res/z61.png (OK) |
| 1229 | 7156252 res/zB.xml (OK - compressed) |
| 1230 | 7156614 res/zH.xml (OK - compressed) |
| 1231 | 7157177 res/zL.xml (OK - compressed) |
| 1232 | 7157500 res/zN.xml (OK - compressed) |
| 1233 | 7157852 res/zZ.png (OK) |
| 1234 | 7158209 res/z_.xml (OK - compressed) |
| 1235 | 7158460 res/zq.xml (OK - compressed) |
| 1236 | 7158923 res/zs.ttf (OK - compressed) |
| 1237 | 7207324 res/zt.png (OK) |
| 1238 | 7211800 res/zw.png (OK) |
| 1239 | 7212308 res/zy.png (OK) |
| 1240 | 7212552 resources.arsc (OK) |
| 1241 | Verification succesful |
| 1242 | Signing APK |
| 1243 | Sign concluded with exit status 0 |
| 1244 |
| 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 | e: /home/phabricator-android-builder/.gradle/caches/transforms-3/3233d6ddde389e715b15b715970cb3ed/transformed/paho.mqtt.android-4.1/jars/classes.jar!/META-INF/serviceLibrary_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. |
| 4 | /var/drydock/workingcopy-112/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] |
| 5 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 | |
| 8 | Explanation for issues of type "MockLocation": |
| 9 | Using a mock location provider (by requiring the permission |
| 10 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 11 | builds (or from tests). In Gradle projects, that means you should only |
| 12 | request this permission in a test or debug source set specific manifest |
| 13 | file. |
| 14 | |
| 15 | To fix this, create a new manifest file in the debug folder and move the |
| 16 | <uses-permission> element there. A typical path to a debug manifest |
| 17 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 18 | |
| 19 | 1 errors, 0 warnings |
| 20 | |
| 21 |
| 6 | > Task :app:compileGitpullRenderscript NO-SOURCE |
|---|---|
| 7 | > Task :app:generateGitpullBuildConfig |
| 8 | > Task :app:generateGitpullResValues |
| 9 | > Task :app:checkGitpullAarMetadata |
| 10 | > Task :app:mapGitpullSourceSetPaths |
| 11 | > Task :app:generateGitpullResources |
| 12 | > Task :app:createGitpullCompatibleScreenManifests |
| 13 | > Task :app:extractDeepLinksGitpull |
| 14 | > Task :app:mergeGitpullResources |
| 15 | |
| 16 | > Task :app:processGitpullMainManifest |
| 17 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:39:9-45:51 Warning: |
| 18 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present |
| 19 | |
| 20 | > Task :app:processGitpullManifest |
| 21 | > Task :app:extractProguardFiles |
| 22 | > Task :app:mergeGitpullJniLibFolders |
| 23 | > Task :app:javaPreCompileGitpull |
| 24 | > Task :app:mergeGitpullNativeLibs NO-SOURCE |
| 25 | > Task :app:stripGitpullDebugSymbols NO-SOURCE |
| 26 | > Task :app:extractGitpullNativeSymbolTables NO-SOURCE |
| 27 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 28 | > Task :app:desugarGitpullFileDependencies |
| 29 | > Task :app:checkGitpullDuplicateClasses |
| 30 | > Task :app:mergeGitpullShaders |
| 31 | > Task :app:compileGitpullShaders NO-SOURCE |
| 32 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 33 | > Task :app:mergeGitpullAssets |
| 34 | > Task :app:compressGitpullAssets |
| 35 | > Task :app:processGitpullJavaRes NO-SOURCE |
| 36 | > Task :app:collectGitpullDependencies |
| 37 | > Task :app:sdkGitpullDependencyData |
| 38 | > Task :app:writeGitpullAppMetadata |
| 39 | > Task :app:writeGitpullSigningConfigVersions |
| 40 | > Task :app:processGitpullManifestForPackage |
| 41 | > Task :app:mergeGitpullArtProfile |
| 42 | > Task :app:processGitpullResources |
| 43 | > Task :app:optimizeGitpullResources |
| 44 | > Task :app:mergeExtDexGitpull |
| 45 | > Task :app:kaptGenerateStubsGitpullKotlin |
| 46 | |
| 47 | > Task :app:kaptGitpullKotlin |
| 48 | /var/drydock/workingcopy-112/repo/libre-busto/app/build/tmp/kapt3/stubs/gitpull/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:24: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency |
| 49 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 50 | ^ |
| 51 | |
| 52 | > Task :app:compileGitpullKotlin |
| 53 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/ActivityIntro.kt:49:75 Parameter 'tab' is never used, could be renamed to _ |
| 54 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/adapters/RouteOnlyLineAdapter.kt:34:33 Parameter 'showOnlyEmpty' is never used |
| 55 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:223:62 No cast needed |
| 56 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:263:17 Variable 'valid' is assigned but never accessed |
| 57 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoPatternsDownloadWorker.kt:58:13 Variable 'notificationManager' is never used |
| 58 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoTripsDownloadWorker.kt:96:13 Variable 'notificationManager' is never used |
| 59 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:172:43 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java |
| 60 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:178:66 Parameter 'maxDpToScale' is never used |
| 61 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:213:24 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java |
| 62 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:103:41 There is more than one label with such a name in this scope |
| 63 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:133:16 Condition 'fragmentListener == null' is always 'false' |
| 64 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:165:63 Parameter 'stopName' is never used, could be renamed to _ |
| 65 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:323:23 Unnecessary safe call on a non-null receiver of type MapView |
| 66 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:565:36 Condition 'map == null' is always 'false' |
| 67 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:634:66 Parameter 'polyline' is never used, could be renamed to _ |
| 68 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:634:76 Parameter 'mapView' is never used, could be renamed to _ |
| 69 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:634:85 Parameter 'eventPos' is never used, could be renamed to _ |
| 70 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:656:13 Variable 'numStops' is never used |
| 71 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:729:35 Variable 'marker' initializer is redundant |
| 72 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:778:21 Condition 'busPositionsOverlay != null' is always 'true' |
| 73 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:835:46 'getter for zoomLevel: Int' is deprecated. Deprecated in Java |
| 74 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesGridShowingFragment.kt:203:13 Variable 'durArrow' is never used |
| 75 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:84:27 Parameter 'cont' is never used, could be renamed to _ |
| 76 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:36 Parameter 'view' is never used, could be renamed to _ |
| 77 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:42 Parameter 'motionEvent' is never used, could be renamed to _ |
| 78 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:88:17 Variable 'layPars' is never used |
| 79 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:27 'LocationProvider' is deprecated. Deprecated in Java |
| 80 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:44 'OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java |
| 81 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:72 'LocationProvider' is deprecated. Deprecated in Java |
| 82 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:89 'TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java |
| 83 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:34 'LocationProvider' is deprecated. Deprecated in Java |
| 84 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:51 'AVAILABLE: Int' is deprecated. Deprecated in Java |
| 85 | |
| 86 | > Task :app:compileGitpullJavaWithJavac |
| 87 | |
| 88 | > Task :app:lintVitalAnalyzeGitpull |
| 89 | |
| 90 | > Task :app:dexBuilderGitpull |
| 91 | > Task :app:mergeGitpullJavaResource |
| 92 | > Task :app:mergeDexGitpull |
| 93 | > Task :app:compileGitpullArtProfile |
| 94 | > Task :app:packageGitpull |
| 95 | > Task :app:createGitpullApkListingFileRedirect |
| 96 | > Task :app:lintVitalReportGitpull |
| 97 | |
| 98 | > Task :app:lintVitalGitpull |
| 99 | |
| 100 | > Task :app:assembleGitpull |
| 101 | |
| 102 | BUILD SUCCESSFUL in 2m 24s |
| 103 | 40 actionable tasks: 40 executed |
| 104 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 105 |
| Passed |
| 1 | Found 7.6 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.6/bin/gradle clean |
| 3 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 16s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |