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:
| Failed |
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 | sha256sum: ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk: No such file or directory |
|---|---|
| 2 |
| Passed |
| 1088 | 6055940 res/wF.png (OK) |
|---|---|
| 1089 | 6059046 res/wG.xml (OK - compressed) |
| 1090 | 6059416 res/wK.9.png (OK) |
| 1091 | 6059668 res/wL.9.png (OK) |
| 1092 | 6059900 res/wN.png (OK) |
| 1093 | 6060164 res/wT.png (OK) |
| 1094 | 6060472 res/wW.png (OK) |
| 1095 | 6060671 res/wW.xml (OK - compressed) |
| 1096 | 6060997 res/wY.xml (OK - compressed) |
| 1097 | 6061364 res/wi.9.png (OK) |
| 1098 | 6063136 res/wi.png (OK) |
| 1099 | 6063312 res/wi1.9.png (OK) |
| 1100 | 6064595 res/wn.xml (OK - compressed) |
| 1101 | 6065045 res/wo.xml (OK - compressed) |
| 1102 | 6065419 res/wz.xml (OK - compressed) |
| 1103 | 6065844 res/x1.xml (OK - compressed) |
| 1104 | 6066128 res/x5.9.png (OK) |
| 1105 | 6066516 res/xB.png (OK) |
| 1106 | 6067812 res/xC.png (OK) |
| 1107 | 6067968 res/xH.png (OK) |
| 1108 | 6084332 res/xM.png (OK) |
| 1109 | 6088199 res/xT.xml (OK - compressed) |
| 1110 | 6088776 res/xp.png (OK) |
| 1111 | 6095471 res/xs.xml (OK - compressed) |
| 1112 | 6095900 res/xy.xml (OK - compressed) |
| 1113 | 6096450 res/y9.xml (OK - compressed) |
| 1114 | 6096825 res/yC.xml (OK - compressed) |
| 1115 | 6097804 res/yO.9.png (OK) |
| 1116 | 6098065 res/yP.xml (OK - compressed) |
| 1117 | 6098656 res/yR.xml (OK - compressed) |
| 1118 | 6099656 res/yX.png (OK) |
| 1119 | 6104006 res/ya.xml (OK - compressed) |
| 1120 | 6104982 res/yf.xml (OK - compressed) |
| 1121 | 6105320 res/yw.png (OK) |
| 1122 | 6107124 res/yx.xml (OK - compressed) |
| 1123 | 6107590 res/z1.xml (OK - compressed) |
| 1124 | 6107829 res/z3.xml (OK - compressed) |
| 1125 | 6108100 res/z6.png (OK) |
| 1126 | 6109004 res/z61.png (OK) |
| 1127 | 6110188 res/zH.xml (OK - compressed) |
| 1128 | 6110711 res/zH1.xml (OK - compressed) |
| 1129 | 6111259 res/zH2.xml (OK - compressed) |
| 1130 | 6111723 res/zL.xml (OK - compressed) |
| 1131 | 6112043 res/zq.xml (OK - compressed) |
| 1132 | 6112468 res/zt.png (OK) |
| 1133 | 6116948 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-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] |
| 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 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/res/layout/fragment_arrivals.xml:117: Error: @id/noArrivalsRecyclerView is not a sibling in the same ConstraintLayout [NotSibling] |
| 19 | app:layout_constraintTop_toBottomOf="@id/noArrivalsRecyclerView" |
| 20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 21 | |
| 22 | Explanation for issues of type "NotSibling": |
| 23 | Layout constraints in a given ConstraintLayout or RelativeLayout should |
| 24 | reference other views within the same relative layout (but not itself!) |
| 25 | |
| 26 | 2 errors, 0 warnings |
| 27 | |
| 28 |
| 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:mergeGitpullArtProfile |
| 41 | > Task :app:processGitpullManifestForPackage |
| 42 | > Task :app:processGitpullResources |
| 43 | > Task :app:optimizeGitpullResources |
| 44 | > Task :app:kaptGenerateStubsGitpullKotlin |
| 45 | |
| 46 | > Task :app:kaptGitpullKotlin |
| 47 | /var/drydock/workingcopy-112/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-112/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-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt: (73, 13): Variable 'USGS_SAT' is never used |
| 54 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _ |
| 55 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _ |
| 56 | |
| 57 | > Task :app:compileGitpullJavaWithJavac |
| 58 | |
| 59 | > Task :app:dexBuilderGitpull |
| 60 | > Task :app:mergeGitpullJavaResource |
| 61 | > Task :app:mergeDexGitpull |
| 62 | > Task :app:compileGitpullArtProfile |
| 63 | > Task :app:packageGitpull |
| 64 | > Task :app:createGitpullApkListingFileRedirect |
| 65 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 66 | > Task :app:lintVitalAnalyzeGitpull |
| 67 | > Task :app:lintVitalReportGitpull |
| 68 | |
| 69 | > Task :app:lintVitalGitpull |
| 70 | |
| 71 | > Task :app:assembleGitpull |
| 72 | |
| 73 | BUILD SUCCESSFUL in 1m 40s |
| 74 | 39 actionable tasks: 39 executed |
| 75 |
| 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 13s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |