Page MenuHomeGitPull.it

Build 179
PassedPublic

Drydock: Publish Builded APK

When
Completed at Nov 10 2020, 01:54 · Built instantly
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 597 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

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

Wait for Previous Commits to Build

When
Completed at Nov 10 2020, 01:54 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Drydock: Assemble debug APK

When
Completed at Nov 10 2020, 01:54 · Built for 28 m, 56 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 $@
2 empty logs are hidden. Show all logs.

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

22> Task :compileDebugNdk NO-SOURCE
23> Task :compileDebugSources UP-TO-DATE
24> Task :mergeDebugShaders UP-TO-DATE
25> Task :compileDebugShaders UP-TO-DATE
26> Task :generateDebugAssets UP-TO-DATE
27> Task :mergeDebugAssets UP-TO-DATE
28> Task :transformClassesWithDexBuilderForDebug UP-TO-DATE
29> Task :transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
30> Task :transformDexArchiveWithDexMergerForDebug UP-TO-DATE
31> Task :mergeDebugJniLibFolders UP-TO-DATE
32> Task :transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
33> Task :checkDebugLibraries UP-TO-DATE
34> Task :processDebugJavaRes NO-SOURCE
35> Task :transformResourcesWithMergeJavaResForDebug UP-TO-DATE
36> Task :validateSigningDebug UP-TO-DATE
37> Task :packageDebug UP-TO-DATE
38> Task :assembleDebug UP-TO-DATE
39
40Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
41Use '--warning-mode all' to show the individual deprecation warnings.
42See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
43
44BUILD SUCCESSFUL in 14s
4527 actionable tasks: 27 up-to-date
46

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

7> Task :checkDebugManifest UP-TO-DATE
8> Task :generateDebugBuildConfig UP-TO-DATE
9> Task :prepareLintJar UP-TO-DATE
10> Task :mainApkListPersistenceDebug UP-TO-DATE
11> Task :generateDebugResValues UP-TO-DATE
12> Task :generateDebugResources UP-TO-DATE
13> Task :mergeDebugResources UP-TO-DATE
14> Task :createDebugCompatibleScreenManifests UP-TO-DATE
15> Task :processDebugManifest UP-TO-DATE
16> Task :splitsDiscoveryTaskDebug UP-TO-DATE
17> Task :processDebugResources UP-TO-DATE
18> Task :generateDebugSources UP-TO-DATE
19> Task :javaPreCompileDebug UP-TO-DATE
20> Task :compileDebugJavaWithJavac UP-TO-DATE
21> Task :compileDebugNdk NO-SOURCE
22> Task :compileDebugSources UP-TO-DATE
23> Task :mergeDebugShaders
24> Task :compileDebugShaders
25> Task :generateDebugAssets
26> Task :mergeDebugAssets
27> Task :transformClassesWithDexBuilderForDebug
28> Task :transformDexArchiveWithExternalLibsDexMergerForDebug
29> Task :transformDexArchiveWithDexMergerForDebug
30> Task :mergeDebugJniLibFolders
31

Sleep

When
Completed at Nov 10 2020, 01:25 · Built for 2 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Drydock: Run Gradle Lint Command

When
Completed at Nov 10 2020, 01:25 · Built for 2 m, 5 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 580 (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-71/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-71/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 579 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

31> Task :generateReleaseResValues
32> Task :generateReleaseResources
33> Task :mergeReleaseResources
34> Task :createReleaseCompatibleScreenManifests
35> Task :processReleaseManifest
36> Task :splitsDiscoveryTaskRelease
37> Task :processReleaseResources
38> Task :generateReleaseSources
39> Task :javaPreCompileRelease
40
41> Task :compileReleaseJavaWithJavac
42
43> Task :lint
44Ran lint on variant debug: 122 issues found
45Ran lint on variant release: 122 issues found
46Wrote HTML report to file:///var/drydock/workingcopy-71/repo/libre-busto/build/reports/lint-results.html
47Wrote XML report to file:///var/drydock/workingcopy-71/repo/libre-busto/build/reports/lint-results.xml
48
49Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
50Use '--warning-mode all' to show the individual deprecation warnings.
51See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
52
53BUILD SUCCESSFUL in 2m 4s
5430 actionable tasks: 30 executed
55

Lease BusTO Working Copy

When
Completed at Nov 10 2020, 01:23 · Built for 5 s
Status
Passed