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 | % Total % Received % Xferd Average Speed Time Time Time Current |
|---|---|
| 2 | Dload Upload Total Spent Left Speed |
| 3 | |
| 4 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
| 5 | 100 542 100 150 100 392 1515 3959 --:--:-- --:--:-- --:--:-- 5474 |
| 6 |
| 1 | [INFO] including .env file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-79/repo/libre-busto |
| 4 | Calculating sha256sum of: |
| 5 | ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 6 | File info |
| 7 | -rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 25067766 Apr 7 14:26 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 8 | Cleaning old builds |
| 9 | Update checksums |
| 10 | Published here: |
| 11 | https://lab.reyboz.it/builds/libre-busto/maplibre~3-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *Update Gradle Plugin* |
| 14 | https://gitpull\.it/R4:4fb995688bb765e4e5683322721bb54a5dcb1170 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download maplibre~3\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/maplibre~3\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `c01acf0f5a3fcb0fac1d2249f1216a07cb4ad22c47ea94b7a074c2e4cb4f674a` |
| 21 | {"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Character ']' is reserved and must be escaped with the preceding '\\'"}Cleaning |
| 22 | Done |
| 23 |
| Passed |
| 1279 | 23568140 res/yn.png (OK) |
|---|---|
| 1280 | 23570624 res/z-.9.png (OK) |
| 1281 | 23570888 res/z9.9.png (OK) |
| 1282 | 23571348 res/zE.png (OK) |
| 1283 | 23571712 res/zG.xml (OK - compressed) |
| 1284 | 23572032 res/zL.png (OK) |
| 1285 | 23572280 res/zP.png (OK) |
| 1286 | 23590240 res/zR.png (OK) |
| 1287 | 23593041 res/zR.xml (OK - compressed) |
| 1288 | 23593532 res/zV.9.png (OK) |
| 1289 | 23596036 res/zZ.png (OK) |
| 1290 | 23602731 res/zc.xml (OK - compressed) |
| 1291 | 23603180 res/ze.png (OK) |
| 1292 | 23611535 res/zp.xml (OK - compressed) |
| 1293 | 23611793 res/zq.xml (OK - compressed) |
| 1294 | 23612104 res/zr.png (OK) |
| 1295 | 23614923 res/zs.xml (OK - compressed) |
| 1296 | 23615195 res/zu.xml (OK - compressed) |
| 1297 | 23616228 res/zz.png (OK) |
| 1298 | 23617152 res/zz.xml (OK - compressed) |
| 1299 | 23617344 resources.arsc (OK) |
| 1300 | Verification succesful |
| 1301 | Signing APK |
| 1302 | Sign concluded with exit status 0 |
| 1303 |
| 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 |
| 15967 | |
|---|---|
| 15968 | > Task :app:lintVitalAnalyzeGitpull |
| 15969 | > Task :app:dexBuilderGitpull |
| 15970 | > Task :app:mergeGitpullGlobalSynthetics |
| 15971 | > Task :app:processGitpullJavaRes |
| 15972 | > Task :app:mergeGitpullJavaResource |
| 15973 | > Task :app:mergeDexGitpull |
| 15974 | > Task :app:compileGitpullArtProfile |
| 15975 | > Task :app:packageGitpull |
| 15976 | > Task :app:createGitpullApkListingFileRedirect |
| 15977 | > Task :app:lintVitalReportGitpull |
| 15978 | |
| 15979 | > Task :app:lintVitalGitpull |
| 15980 | |
| 15981 | > Task :app:assembleGitpull |
| 15982 | |
| 15983 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 15984 | |
| 15985 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 15986 | |
| 15987 | For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 15988 | |
| 15989 | BUILD SUCCESSFUL in 5m 26s |
| 15990 | 45 actionable tasks: 45 executed |
| 15991 |
| Passed |
| 2 | cachedir |
|---|---|
| 3 | /tmp/tmp.9xCXQ7gDBa/gradle-8.7-bin.zip: OK |
| 4 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 5 | |
| 6 | Welcome to Gradle 8.7! |
| 7 | |
| 8 | Here are the highlights of this release: |
| 9 | - Compiling and testing with Java 22 |
| 10 | - Cacheable Groovy script compilation |
| 11 | - New methods in lazy collection properties |
| 12 | |
| 13 | For more details see https://docs.gradle.org/8.7/release-notes.html |
| 14 | |
| 15 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 16 | > Task :app:clean |
| 17 | |
| 18 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 19 | |
| 20 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 21 | |
| 22 | For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 23 | |
| 24 | BUILD SUCCESSFUL in 46s |
| 25 | 1 actionable task: 1 executed |
| 26 |
| Passed |
| Passed |