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-79/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 7299744 Jun 28 11:13 ./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/HEAD-libre-busto.apk |
| 11 | Cleaning |
| 12 | Done |
| 13 |
| Passed |
| 1088 | 6060564 res/wF.png (OK) |
|---|---|
| 1089 | 6063670 res/wG.xml (OK - compressed) |
| 1090 | 6064040 res/wK.9.png (OK) |
| 1091 | 6064292 res/wL.9.png (OK) |
| 1092 | 6064524 res/wN.png (OK) |
| 1093 | 6064788 res/wT.png (OK) |
| 1094 | 6065096 res/wW.png (OK) |
| 1095 | 6065295 res/wW.xml (OK - compressed) |
| 1096 | 6065621 res/wY.xml (OK - compressed) |
| 1097 | 6065988 res/wi.9.png (OK) |
| 1098 | 6067760 res/wi.png (OK) |
| 1099 | 6067936 res/wi1.9.png (OK) |
| 1100 | 6069219 res/wn.xml (OK - compressed) |
| 1101 | 6069669 res/wo.xml (OK - compressed) |
| 1102 | 6070043 res/wz.xml (OK - compressed) |
| 1103 | 6070468 res/x1.xml (OK - compressed) |
| 1104 | 6070752 res/x5.9.png (OK) |
| 1105 | 6071140 res/xB.png (OK) |
| 1106 | 6072436 res/xC.png (OK) |
| 1107 | 6072592 res/xH.png (OK) |
| 1108 | 6088956 res/xM.png (OK) |
| 1109 | 6092823 res/xT.xml (OK - compressed) |
| 1110 | 6093400 res/xp.png (OK) |
| 1111 | 6100095 res/xs.xml (OK - compressed) |
| 1112 | 6100524 res/xy.xml (OK - compressed) |
| 1113 | 6101074 res/y9.xml (OK - compressed) |
| 1114 | 6101449 res/yC.xml (OK - compressed) |
| 1115 | 6102428 res/yO.9.png (OK) |
| 1116 | 6102689 res/yP.xml (OK - compressed) |
| 1117 | 6103280 res/yR.xml (OK - compressed) |
| 1118 | 6104280 res/yX.png (OK) |
| 1119 | 6108630 res/ya.xml (OK - compressed) |
| 1120 | 6109605 res/yf.xml (OK - compressed) |
| 1121 | 6109940 res/yw.png (OK) |
| 1122 | 6111744 res/yx.xml (OK - compressed) |
| 1123 | 6112210 res/z1.xml (OK - compressed) |
| 1124 | 6112449 res/z3.xml (OK - compressed) |
| 1125 | 6112720 res/z6.png (OK) |
| 1126 | 6113624 res/z61.png (OK) |
| 1127 | 6114808 res/zH.xml (OK - compressed) |
| 1128 | 6115331 res/zH1.xml (OK - compressed) |
| 1129 | 6115879 res/zH2.xml (OK - compressed) |
| 1130 | 6116343 res/zL.xml (OK - compressed) |
| 1131 | 6116663 res/zq.xml (OK - compressed) |
| 1132 | 6117088 res/zt.png (OK) |
| 1133 | 6121568 resources.arsc (OK) |
| 1134 | Verification succesful |
| 1135 | Signing APK |
| 1136 | Sign concluded with exit status 0 |
| 1137 |
| 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 |
| 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:kaptGenerateStubsGitpullKotlin |
| 45 | |
| 46 | > Task :app:kaptGitpullKotlin |
| 47 | /var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/gitpull/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:26: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency |
| 48 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 49 | ^ |
| 50 | |
| 51 | > Task :app:compileGitpullKotlin |
| 52 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/adapters/RouteOnlyLineAdapter.kt: (26, 33): Parameter 'showOnlyEmpty' is never used |
| 53 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoPatternsDownloadWorker.kt: (58, 13): Variable 'notificationManager' is never used |
| 54 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoTripsDownloadWorker.kt: (96, 13): Variable 'notificationManager' is never used |
| 55 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt: (73, 13): Variable 'USGS_SAT' is never used |
| 56 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _ |
| 57 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _ |
| 58 | |
| 59 | > Task :app:compileGitpullJavaWithJavac |
| 60 | |
| 61 | > Task :app:dexBuilderGitpull |
| 62 | > Task :app:mergeGitpullJavaResource |
| 63 | > Task :app:mergeDexGitpull |
| 64 | > Task :app:compileGitpullArtProfile |
| 65 | > Task :app:packageGitpull |
| 66 | > Task :app:createGitpullApkListingFileRedirect |
| 67 | > Task :app:lintVitalAnalyzeGitpull |
| 68 | |
| 69 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 70 | |
| 71 | > Task :app:lintVitalReportGitpull |
| 72 | |
| 73 | > Task :app:lintVitalGitpull |
| 74 | |
| 75 | > Task :app:assembleGitpull |
| 76 | |
| 77 | BUILD SUCCESSFUL in 2m 28s |
| 78 | 39 actionable tasks: 39 executed |
| 79 |
| Passed |
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
| 3 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 21s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |