Page MenuHomeGitPull.it

Build 1002
PassedPublic

Properties

Drydock: Sign and Publish Builded APK Files

When
Completed at May 15 2025, 11:49 · Built for 14 s
Status
Passed
Description

The command is:

/opt/libre-busto-ci-cd/bin/publish-latest-branch-build.sh ${buildable.revision}

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:

https://lab.reyboz.it/builds/libre-busto/

1 empty log is hidden Show all logs.

Build Log 5191 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

6112
6113[Download D191\-arm64\-v8a\-aligned\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D191-arm64-v8a-aligned-signed.apk)
6114
6115APK sha256 `69f97ff0971ded0f58d0382416a019dcc011902f4ab67bddf4be5010d730adc3`
6116
6117[Download D191\-armeabi\-v7a\-aligned\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D191-armeabi-v7a-aligned-signed.apk)
6118
6119APK sha256 `99411feee0729fa0f79af203221577790abd449a927720c8d591f9d591e2d4cb`
6120
6121[Download D191\-universal\-aligned\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D191-universal-aligned-signed.apk)
6122
6123APK sha256 `9ae6c07d2895306a87b686dbb78df187622285f18ff278acf8dc9de956daa2a2`
6124
6125[Download D191\-x86\-aligned\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D191-x86-aligned-signed.apk)
6126
6127APK sha256 `92d9b57d4fa07acda08c65a53ca0394c83ab5cba999ddcec915ff1d49f0e5a52`
6128
6129[Download D191\-x86\_64\-aligned\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D191-x86_64-aligned-signed.apk)
6130
6131APK sha256 `a7dd449513991c4b36daa2f0a2f522904edc053ea86da567cc0593c7b96094e9`
6132
6133Adding bipbop Comment to D191
6134[INFO][2025-05-15 11:49:18] Cleaning old artifacts
6135[INFO][2025-05-15 11:49:18] Done
6136

Drydock: Assemble debug APK

When
Completed at May 15 2025, 11:49 · Built for 1 m, 2 s
Status
Passed
Description

This step will build an .apk using Gradle using this fantastic Docker image:

https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu

The mentioned script is just a wrapper doing this:

/opt/libre-busto-ci-cd/bin/fdroid-docker-builder.sh
#!/bin/bash
set -euo pipefail

if [ -z "$1" ]; then
    echo "Uso: $0 <cartella-sorgente>"
    exit 1
fi

SOURCE_DIR="$(realpath "$1")"
IMAGE_NAME="${IMAGE_NAME:-fabmazza/android-build-fdroid:ubuntu}"

# Eat the first argument.
# So we pass all the other shit to gradle.
shift

if [ ! -d "$SOURCE_DIR" ]; then
    echo "Errore: '$SOURCE_DIR' non è una cartella valida"
    exit 1
fi

if [[ "$UID" = 0 ]]; then
        echo "Do not run as root."
        exit 2
fi

GID=$(id -g)

echo "[INFO] User info: $(id)"
echo "[INFO] UID=$UID"
echo "[INFO] GID=$GID"
echo "[INFO] IMAGE_NAME=$IMAGE_NAME"
echo "[INFO] SOURCE_DIR=$SOURCE_DIR"

## From this point, say what we are doing.
set -x

docker run \
  -e DESIRED_UID="$UID" \
  -e DESIRED_GID="$GID" \
  --rm \
  -v "$SOURCE_DIR":/home/vagrant/appbuild:Z \
   "$IMAGE_NAME" \
  launch_build_local $@

TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.

Build Log 5190 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

14 <uses-permission> element there. A typical path to a debug manifest
15 override file in a Gradle project is src/debug/AndroidManifest.xml.
16
17/var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:132: Error: Expected non-nullable value [NullSafeMutableLiveData from androidx.lifecycle]
18 palinaLiveData.postValue(palina)
19 ~~~~~~
20
21 Explanation for issues of type "NullSafeMutableLiveData":
22 This check ensures that LiveData values are not null when explicitly
23 declared as non-nullable.
24
25 Kotlin interoperability does not support enforcing explicit
26 null-safety when using generic Java type parameters. Since
27 LiveData is a Java class its value can always be null even
28 when its type is explicitly declared as non-nullable. This can lead
29 to runtime exceptions from reading a null LiveData value that is
30 assumed to be non-nullable.
31
32 Vendor: Android Open Source Project
33 Identifier: androidx.lifecycle
34 Feedback: https://issuetracker.google.com/issues/new?component=413132
35
362 errors, 0 warnings
37
38

Build Log 5189 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

88w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'.
89w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'.
90w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null.
91
92> Task :app:compileGitpullJavaWithJavac
93
94> Task :app:generateGitpullLintVitalReportModel
95> Task :app:dexBuilderGitpull
96> Task :app:processGitpullJavaRes
97> Task :app:mergeGitpullGlobalSynthetics
98> Task :app:mergeGitpullJavaResource
99> Task :app:mergeDexGitpull
100> Task :app:compileGitpullArtProfile
101> Task :app:packageGitpull
102> Task :app:createGitpullApkListingFileRedirect
103> Task :app:lintVitalAnalyzeGitpull
104> Task :app:lintVitalReportGitpull
105
106> Task :app:lintVitalGitpull
107
108> Task :app:assembleGitpull
109
110BUILD SUCCESSFUL in 1m
11155 actionable tasks: 54 executed, 1 up-to-date
112

Drydock: Clean Gradle

When
Completed at May 15 2025, 11:48 · Built for 4 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.
1 empty log is hidden Show all logs.

Build Log 5187 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 8.7 via distributionUrl
2Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean
3> Task :app:clean
4
5BUILD SUCCESSFUL in 3s
61 actionable task: 1 executed
7

Lease BusTO Working Copy

When
Completed at May 15 2025, 11:47 · Built for 5 s
Status
Passed

Abort Older Builds

When
Completed at May 15 2025, 11:47 · Built instantly
Status
Passed