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 29 12:30 ./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/D124-libre-busto.apk |
| 11 | Adding bipbop Comment to D124 |
| 12 | Cleaning |
| 13 | Done |
| 14 |
| Passed |
| 1113 | 6101158 res/y9.xml (OK - compressed) |
|---|---|
| 1114 | 6101533 res/yC.xml (OK - compressed) |
| 1115 | 6102512 res/yO.9.png (OK) |
| 1116 | 6102773 res/yP.xml (OK - compressed) |
| 1117 | 6103364 res/yR.xml (OK - compressed) |
| 1118 | 6104364 res/yX.png (OK) |
| 1119 | 6108714 res/ya.xml (OK - compressed) |
| 1120 | 6109689 res/yf.xml (OK - compressed) |
| 1121 | 6110024 res/yw.png (OK) |
| 1122 | 6111828 res/yx.xml (OK - compressed) |
| 1123 | 6112294 res/z1.xml (OK - compressed) |
| 1124 | 6112533 res/z3.xml (OK - compressed) |
| 1125 | 6112804 res/z6.png (OK) |
| 1126 | 6113708 res/z61.png (OK) |
| 1127 | 6114892 res/zH.xml (OK - compressed) |
| 1128 | 6115415 res/zH1.xml (OK - compressed) |
| 1129 | 6115963 res/zH2.xml (OK - compressed) |
| 1130 | 6116427 res/zL.xml (OK - compressed) |
| 1131 | 6116747 res/zq.xml (OK - compressed) |
| 1132 | 6117172 res/zt.png (OK) |
| 1133 | 6121652 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 |
| 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 36s |
| 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, 1 stopped Daemon could not be reused, use --status for details |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 22s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |