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 8031765 Aug 27 12:57 ./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 |
| 1192 | 6693986 res/yf.xml (OK - compressed) |
|---|---|
| 1193 | 6694324 res/yq.png (OK) |
| 1194 | 6695536 res/yw.png (OK) |
| 1195 | 6697340 res/yx.xml (OK - compressed) |
| 1196 | 6697860 res/z1.xml (OK - compressed) |
| 1197 | 6698101 res/z11.xml (OK - compressed) |
| 1198 | 6698458 res/z12.xml (OK - compressed) |
| 1199 | 6698786 res/z3.xml (OK - compressed) |
| 1200 | 6699056 res/z6.png (OK) |
| 1201 | 6699960 res/z61.png (OK) |
| 1202 | 6701144 res/zB.xml (OK - compressed) |
| 1203 | 6701506 res/zH.xml (OK - compressed) |
| 1204 | 6702070 res/zL.xml (OK - compressed) |
| 1205 | 6702393 res/zN.xml (OK - compressed) |
| 1206 | 6702744 res/zZ.png (OK) |
| 1207 | 6703101 res/z_.xml (OK - compressed) |
| 1208 | 6703352 res/zq.xml (OK - compressed) |
| 1209 | 6703816 res/zt.png (OK) |
| 1210 | 6708292 res/zw.png (OK) |
| 1211 | 6708800 res/zy.png (OK) |
| 1212 | 6709044 resources.arsc (OK) |
| 1213 | Verification succesful |
| 1214 | Signing APK |
| 1215 | Sign concluded with exit status 0 |
| 1216 |
| 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.
| 163 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) |
|---|---|
| 164 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
| 165 | at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) |
| 166 | at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) |
| 167 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) |
| 168 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) |
| 169 | at java.base/java.lang.Thread.run(Thread.java:829) |
| 170 | /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] |
| 171 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 172 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 173 | |
| 174 | Explanation for issues of type "MockLocation": |
| 175 | Using a mock location provider (by requiring the permission |
| 176 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 177 | builds (or from tests). In Gradle projects, that means you should only |
| 178 | request this permission in a test or debug source set specific manifest |
| 179 | file. |
| 180 | |
| 181 | To fix this, create a new manifest file in the debug folder and move the |
| 182 | <uses-permission> element there. A typical path to a debug manifest |
| 183 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 184 | |
| 185 | 1 errors, 0 warnings |
| 186 | |
| 187 |
| 75 | |
|---|---|
| 76 | > Task :app:compileGitpullJavaWithJavac |
| 77 | |
| 78 | > Task :app:lintVitalAnalyzeGitpull |
| 79 | |
| 80 | > Task :app:dexBuilderGitpull |
| 81 | |
| 82 | > Task :app:lintVitalAnalyzeGitpull |
| 83 | |
| 84 | > Task :app:mergeGitpullJavaResource |
| 85 | > Task :app:mergeDexGitpull |
| 86 | > Task :app:compileGitpullArtProfile |
| 87 | > Task :app:packageGitpull |
| 88 | > Task :app:createGitpullApkListingFileRedirect |
| 89 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 90 | |
| 91 | > Task :app:lintVitalReportGitpull |
| 92 | |
| 93 | > Task :app:lintVitalGitpull |
| 94 | |
| 95 | > Task :app:assembleGitpull |
| 96 | |
| 97 | BUILD SUCCESSFUL in 1m 58s |
| 98 | 40 actionable tasks: 40 executed |
| 99 |
| 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 17s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |