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 549 100 150 100 399 3000 7980 --:--:-- --:--:-- --:--:-- 11204 |
| 6 |
| 1 | [INFO] including .env file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-112/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 25177957 May 7 12:01 ./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/HEAD~1-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | 🌚 New commit: *Translated using Weblate \(French\)* |
| 14 | https://gitpull\.it/R4:31f5d96c26755355d30802b27de616bc837fff33 |
| 15 | |
| 16 | Try this fresh test APK: |
| 17 | [Download HEAD~1\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/HEAD~1\-libre\-busto\.apk) |
| 18 | |
| 19 | APK fingerprint sha256: |
| 20 | `5f1ae7bb43f430520711a61339d80f3843ad2ed1b1b36d6f353d8e6641fcaa35` |
| 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 |
| 1168 | 23624104 res/x4.xml (OK - compressed) |
|---|---|
| 1169 | 23624880 res/xH.png (OK) |
| 1170 | 23625106 res/xI.xml (OK - compressed) |
| 1171 | 23625809 res/xM.ttf (OK - compressed) |
| 1172 | 23685499 res/xN.xml (OK - compressed) |
| 1173 | 23686334 res/xQ.xml (OK - compressed) |
| 1174 | 23686824 res/xR.9.png (OK) |
| 1175 | 23687060 res/xa.9.png (OK) |
| 1176 | 23687321 res/xa.xml (OK - compressed) |
| 1177 | 23687883 res/xd.xml (OK - compressed) |
| 1178 | 23688598 res/xj.xml (OK - compressed) |
| 1179 | 23688890 res/xo.xml (OK - compressed) |
| 1180 | 23689177 res/xq.xml (OK - compressed) |
| 1181 | 23689564 res/xz.xml (OK - compressed) |
| 1182 | 23690754 res/y-.xml (OK - compressed) |
| 1183 | 23691022 res/y4.xml (OK - compressed) |
| 1184 | 23691278 res/y9.xml (OK - compressed) |
| 1185 | 23691546 res/yE.xml (OK - compressed) |
| 1186 | 23691800 res/yH.9.png (OK) |
| 1187 | 23692024 res/yO.xml (OK - compressed) |
| 1188 | 23692274 res/yT.xml (OK - compressed) |
| 1189 | 23692595 res/yV.xml (OK - compressed) |
| 1190 | 23692936 res/yY.9.png (OK) |
| 1191 | 23693162 res/yY.xml (OK - compressed) |
| 1192 | 23693448 res/ya.xml (OK - compressed) |
| 1193 | 23693808 res/yd.png (OK) |
| 1194 | 23705744 res/yg.9.png (OK) |
| 1195 | 23706179 res/yj.xml (OK - compressed) |
| 1196 | 23706576 res/yn.png (OK) |
| 1197 | 23709060 res/z-.9.png (OK) |
| 1198 | 23709324 res/z9.9.png (OK) |
| 1199 | 23709784 res/zE.png (OK) |
| 1200 | 23710148 res/zG.xml (OK - compressed) |
| 1201 | 23710468 res/zR.png (OK) |
| 1202 | 23713269 res/zR.xml (OK - compressed) |
| 1203 | 23713760 res/zV.9.png (OK) |
| 1204 | 23716263 res/zc.xml (OK - compressed) |
| 1205 | 23716712 res/ze.png (OK) |
| 1206 | 23725067 res/zp.xml (OK - compressed) |
| 1207 | 23725324 res/zq.xml (OK - compressed) |
| 1208 | 23725636 res/zr.png (OK) |
| 1209 | 23728455 res/zs.xml (OK - compressed) |
| 1210 | 23728727 res/zu.xml (OK - compressed) |
| 1211 | 23729758 res/zv.xml (OK - compressed) |
| 1212 | 23731035 res/zz.xml (OK - compressed) |
| 1213 | 23731228 resources.arsc (OK) |
| 1214 | Verification succesful |
| 1215 | Signing APK |
| 1216 | Sign concluded with exit status 0 |
| 1217 |
| 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/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:132: Error: Expected non-nullable value [NullSafeMutableLiveData from androidx.lifecycle] |
| 19 | palinaLiveData.postValue(palina) |
| 20 | ~~~~~~ |
| 21 | |
| 22 | Explanation for issues of type "NullSafeMutableLiveData": |
| 23 | This check ensures that LiveData values are not null when explicitly |
| 24 | declared as non-nullable. |
| 25 | |
| 26 | Kotlin interoperability does not support enforcing explicit |
| 27 | null-safety when using generic Java type parameters. Since |
| 28 | LiveData is a Java class its value can always be null even |
| 29 | when its type is explicitly declared as non-nullable. This can lead |
| 30 | to runtime exceptions from reading a null LiveData value that is |
| 31 | assumed to be non-nullable. |
| 32 | |
| 33 | Vendor: Android Open Source Project |
| 34 | Identifier: androidx.lifecycle |
| 35 | Feedback: https://issuetracker.google.com/issues/new?component=413132 |
| 36 | |
| 37 | 2 errors, 0 warnings |
| 38 | |
| 39 |
| 68 | > Task :app:compileGitpullKotlin |
|---|---|
| 69 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/ActivityAbout.kt:100:13 'fun onBackPressed(): Unit' is deprecated. Deprecated in Java. |
| 70 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:147:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 71 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:152:30 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 72 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:324:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 73 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:383:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 74 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:473:21 Condition is always 'true'. |
| 75 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:538:33 Condition is always 'true'. |
| 76 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:540:20 Condition is always 'true'. |
| 77 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:603:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 78 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:652:66 'fun execute(vararg p0: Stop!): AsyncTask<Stop!, Void!, Boolean!>!' is deprecated. Deprecated in Java. |
| 79 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:693:13 Condition is always 'false'. |
| 80 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:172:43 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 81 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:213:24 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 82 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:176:16 Condition is always 'false'. |
| 83 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:1011:25 'fun requestSingleUpdate(p0: String, p1: LocationListener, p2: Looper?): Unit' is deprecated. Deprecated in Java. |
| 84 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:27 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 85 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:44 'static field OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java. |
| 86 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:72 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 87 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:89 'static field TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java. |
| 88 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:34 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 89 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:51 'static field AVAILABLE: Int' is deprecated. Deprecated in Java. |
| 90 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:216:48 'class Criteria : Any, Parcelable' is deprecated. Deprecated in Java. |
| 91 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast of 'kotlin.Any!' to 'kotlin.collections.Map<kotlin.String?, kotlin.Any>?'. |
| 92 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast of 'kotlin.collections.Set<*>' to 'kotlin.collections.Set<kotlin.String?>'. |
| 93 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'. |
| 94 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'. |
| 95 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null. |
| 96 | |
| 97 | > Task :app:compileGitpullJavaWithJavac |
| 98 | |
| 99 | > Task :app:generateGitpullLintVitalReportModel |
| 100 | > Task :app:dexBuilderGitpull |
| 101 | > Task :app:processGitpullJavaRes |
| 102 | > Task :app:mergeGitpullGlobalSynthetics |
| 103 | > Task :app:mergeGitpullJavaResource |
| 104 | > Task :app:mergeDexGitpull |
| 105 | > Task :app:compileGitpullArtProfile |
| 106 | > Task :app:packageGitpull |
| 107 | > Task :app:createGitpullApkListingFileRedirect |
| 108 | > Task :app:lintVitalAnalyzeGitpull |
| 109 | > Task :app:lintVitalReportGitpull |
| 110 | |
| 111 | > Task :app:lintVitalGitpull |
| 112 | |
| 113 | > Task :app:assembleGitpull |
| 114 | |
| 115 | BUILD SUCCESSFUL in 1m 55s |
| 116 | 51 actionable tasks: 50 executed, 1 up-to-date |
| 117 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | |
| 4 | > Configure project :app |
| 5 | WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. |
| 6 | The current default is 'false'. |
| 7 | It will be removed in version 9.0 of the Android Gradle plugin. |
| 8 | To keep using this feature, add the following to your module-level build.gradle files: |
| 9 | android.buildFeatures.buildConfig = true |
| 10 | or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`. |
| 11 | |
| 12 | > Task :app:clean |
| 13 | |
| 14 | BUILD SUCCESSFUL in 2s |
| 15 | 1 actionable task: 1 executed |
| 16 |
| Passed |
| Passed |