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 |
| Failed |
| 1 | bash: /home/phabricator-android-builder/sign-fabione.sh: No such file or directory |
|---|---|
| 2 |
| 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 | 1 errors, 0 warnings |
| 19 | |
| 20 |
| 27 | > Task :app:extractGitpullNativeSymbolTables NO-SOURCE |
|---|---|
| 28 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 29 | > Task :app:checkGitpullDuplicateClasses |
| 30 | > Task :app:desugarGitpullFileDependencies |
| 31 | > Task :app:mergeGitpullShaders |
| 32 | > Task :app:compileGitpullShaders NO-SOURCE |
| 33 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 34 | > Task :app:mergeGitpullAssets |
| 35 | > Task :app:compressGitpullAssets |
| 36 | > Task :app:processGitpullManifestForPackage |
| 37 | > Task :app:mergeGitpullArtProfile |
| 38 | > Task :app:processGitpullJavaRes NO-SOURCE |
| 39 | > Task :app:collectGitpullDependencies |
| 40 | > Task :app:sdkGitpullDependencyData |
| 41 | > Task :app:writeGitpullAppMetadata |
| 42 | > Task :app:writeGitpullSigningConfigVersions |
| 43 | > Task :app:processGitpullResources |
| 44 | > Task :app:optimizeGitpullResources |
| 45 | > Task :app:kaptGenerateStubsGitpullKotlin |
| 46 | |
| 47 | > Task :app:kaptGitpullKotlin |
| 48 | /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 |
| 49 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 50 | ^ |
| 51 | |
| 52 | > Task :app:compileGitpullKotlin |
| 53 | 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 _ |
| 54 | 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 _ |
| 55 | |
| 56 | > Task :app:compileGitpullJavaWithJavac |
| 57 | |
| 58 | > Task :app:dexBuilderGitpull |
| 59 | > Task :app:lintVitalAnalyzeGitpull |
| 60 | > Task :app:mergeDexGitpull |
| 61 | |
| 62 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 63 | |
| 64 | > Task :app:mergeGitpullJavaResource |
| 65 | > Task :app:lintVitalReportGitpull |
| 66 | |
| 67 | > Task :app:lintVitalGitpull |
| 68 | |
| 69 | > Task :app:compileGitpullArtProfile |
| 70 | > Task :app:packageGitpull |
| 71 | > Task :app:createGitpullApkListingFileRedirect |
| 72 | > Task :app:assembleGitpull |
| 73 | |
| 74 | BUILD SUCCESSFUL in 2m 49s |
| 75 | 39 actionable tasks: 38 executed, 1 up-to-date |
| 76 |
| Passed |
| 1 | Note: Some input files use or override a deprecated API. |
|---|---|
| 2 | Note: Recompile with -Xlint:deprecation for details. |
| 3 |
| 5 | > Task :app:compileDebugRenderscript NO-SOURCE |
|---|---|
| 6 | > Task :app:generateDebugBuildConfig |
| 7 | > Task :app:generateDebugResValues |
| 8 | > Task :app:mapDebugSourceSetPaths |
| 9 | > Task :app:generateDebugResources |
| 10 | > Task :app:checkDebugAarMetadata |
| 11 | > Task :app:createDebugCompatibleScreenManifests |
| 12 | > Task :app:extractDeepLinksDebug |
| 13 | |
| 14 | > Task :app:processDebugMainManifest |
| 15 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/debug/AndroidManifest.xml:39:9-45:51 Warning: |
| 16 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present |
| 17 | |
| 18 | > Task :app:processDebugManifest |
| 19 | > Task :app:preDebugAndroidTestBuild SKIPPED |
| 20 | > Task :app:javaPreCompileDebug |
| 21 | > Task :app:processDebugAndroidTestManifest |
| 22 | > Task :app:compileDebugAndroidTestRenderscript NO-SOURCE |
| 23 | > Task :app:extractProguardFiles |
| 24 | > Task :app:generateDebugAndroidTestResValues |
| 25 | > Task :app:processDebugManifestForPackage |
| 26 | > Task :app:mergeDebugResources |
| 27 | > Task :app:processDebugResources |
| 28 | > Task :app:kaptGenerateStubsDebugKotlin |
| 29 | |
| 30 | > Task :app:kaptDebugKotlin |
| 31 | /var/drydock/workingcopy-112/repo/libre-busto/app/build/tmp/kapt3/stubs/debug/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 |
| 32 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 33 | ^ |
| 34 | |
| 35 | > Task :app:compileDebugKotlin |
| 36 | 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 _ |
| 37 | 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 _ |
| 38 | |
| 39 | > Task :app:compileDebugJavaWithJavac |
| 40 | |
| 41 | > Task :app:bundleDebugClassesToCompileJar |
| 42 | > Task :app:lintAnalyzeDebug |
| 43 | |
| 44 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 45 | |
| 46 | > Task :app:lintReportDebug |
| 47 | Wrote HTML report to file:///var/drydock/workingcopy-112/repo/libre-busto/app/build/reports/lint-results-debug.html |
| 48 | |
| 49 | > Task :app:lintDebug |
| 50 | > Task :app:lint |
| 51 | |
| 52 | BUILD SUCCESSFUL in 2m 29s |
| 53 | 23 actionable tasks: 23 executed |
| 54 |
| Passed |
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
| 3 | > Task :app:clean |
| 4 | |
| 5 | BUILD SUCCESSFUL in 2s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |