Page MenuHomeGitPull.it

Build 277
PassedPublic

Properties

History

Drydock: Publish Builded APK

When
Completed at Apr 17 2021, 19:05 · Built for 1 s
Status
Passed
Description

The command is:

/home/phabricator-android-builder/repos/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 949 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Published:
2https://lab.reyboz.it/builds/libre-busto/D50-libre-busto-unsigned.apk
3

Drydock: Assemble debug APK

When
Completed at Apr 17 2021, 19:05 · Built for 35 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:

/home/phabricator-android-builder/bin/docker_launch_build_fabio_asd.sh
#!/bin/bash
set -euo pipefail

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

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

# 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] CONTAINER_NAME=$CONTAINER_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 \
   "$CONTAINER_NAME" \
  launch_build_local $@

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

1Note: Some input files use or override a deprecated API.
2Note: Recompile with -Xlint:deprecation for details.
3Note: /var/drydock/workingcopy-79/repo/libre-busto/src/it/reyboz/bustorino/middleware/AsyncDataDownload.java uses unchecked or unsafe operations.
4Note: Recompile with -Xlint:unchecked for details.
5

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

19> Task :generateDebugAssets UP-TO-DATE
20> Task :mergeDebugAssets
21> Task :processDebugJavaRes
22> Task :checkDebugDuplicateClasses
23> Task :desugarDebugFileDependencies
24> Task :mergeDebugResources
25> Task :processDebugResources
26
27> Task :compileDebugJavaWithJavac
28
29> Task :compileDebugSources
30> Task :dexBuilderDebug
31> Task :mergeDebugJniLibFolders
32> Task :mergeExtDexDebug
33> Task :validateSigningDebug
34> Task :mergeDebugJavaResource
35> Task :mergeDebugNativeLibs
36> Task :stripDebugDebugSymbols NO-SOURCE
37> Task :mergeDexDebug
38> Task :packageDebug
39> Task :assembleDebug
40
41BUILD SUCCESSFUL in 34s
4223 actionable tasks: 23 executed
43

Drydock: Clean Gradle

When
Completed at Apr 17 2021, 19:04 · Built for 2 s
Status
Passed
Description

Clean Gradle directory to avoid nasty errors like:

https://gitpull.it/harbormaster/build/273/

1 empty log is hidden Show all logs.

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

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

Drydock: Run Gradle Lint Command

When
Completed at Apr 17 2021, 19:04 · Built for 48 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

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

1Note: Some input files use or override a deprecated API.
2Note: Recompile with -Xlint:deprecation for details.
3Note: /var/drydock/workingcopy-79/repo/libre-busto/src/it/reyboz/bustorino/middleware/AsyncDataDownload.java uses unchecked or unsafe operations.
4Note: Recompile with -Xlint:unchecked for details.
5Note: Some input files use or override a deprecated API.
6Note: Recompile with -Xlint:deprecation for details.
7Note: /var/drydock/workingcopy-79/repo/libre-busto/src/it/reyboz/bustorino/middleware/AsyncDataDownload.java uses unchecked or unsafe operations.
8Note: Recompile with -Xlint:unchecked for details.
9

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

26> Task :processReleaseManifest
27/var/drydock/workingcopy-79/repo/libre-busto/AndroidManifest.xml:39:9-45:51 Warning:
28 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
29
30> Task :prepareLintJar UP-TO-DATE
31> Task :mergeDebugResources
32> Task :processDebugResources
33
34> Task :compileDebugJavaWithJavac
35
36> Task :mergeReleaseResources
37> Task :processReleaseResources
38> Task :javaPreCompileRelease
39
40> Task :compileReleaseJavaWithJavac
41
42> Task :lint
43Ran lint on variant debug: 113 issues found
44Ran lint on variant release: 111 issues found
45Wrote HTML report to file:///var/drydock/workingcopy-79/repo/libre-busto/build/reports/lint-results.html
46Wrote XML report to file:///var/drydock/workingcopy-79/repo/libre-busto/build/reports/lint-results.xml
47
48BUILD SUCCESSFUL in 47s
4922 actionable tasks: 21 executed, 1 up-to-date
50

Lease BusTO Working Copy

When
Completed at Apr 17 2021, 19:03 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Apr 17 2021, 19:03 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.