Page MenuHomeGitPull.it

Build 186
PassedPublic

Drydock: Publish Builded APK

When
Completed at Nov 14 2020, 20:13 · 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 621 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

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

Drydock: Assemble debug APK

When
Completed at Nov 14 2020, 20:13 · Built for 14 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 $@
1 empty log is hidden Show all logs.

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

1Found 5.1.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/5.1.1/bin/gradle assembleDebug
3> Task :preBuild UP-TO-DATE
4> Task :preDebugBuild UP-TO-DATE
5> Task :compileDebugAidl NO-SOURCE
6> Task :compileDebugRenderscript UP-TO-DATE
7> Task :checkDebugManifest UP-TO-DATE
8> Task :generateDebugBuildConfig UP-TO-DATE
9> Task :prepareLintJar UP-TO-DATE
10> Task :generateDebugSources UP-TO-DATE
11> Task :javaPreCompileDebug UP-TO-DATE
12> Task :mainApkListPersistenceDebug UP-TO-DATE
13> Task :generateDebugResValues UP-TO-DATE
14> Task :generateDebugResources UP-TO-DATE
15> Task :mergeDebugResources UP-TO-DATE
16> Task :createDebugCompatibleScreenManifests UP-TO-DATE
17> Task :processDebugManifest UP-TO-DATE
18> Task :processDebugResources UP-TO-DATE
19> Task :compileDebugJavaWithJavac UP-TO-DATE
20> Task :compileDebugNdk NO-SOURCE
21> Task :compileDebugSources UP-TO-DATE
22> Task :mergeDebugShaders
23> Task :compileDebugShaders
24> Task :generateDebugAssets
25> Task :mergeDebugAssets
26> Task :validateSigningDebug
27> Task :signingConfigWriterDebug
28> Task :transformClassesWithDexBuilderForDebug
29> Task :transformDexArchiveWithExternalLibsDexMergerForDebug
30> Task :transformDexArchiveWithDexMergerForDebug
31> Task :mergeDebugJniLibFolders
32> Task :transformNativeLibsWithMergeJniLibsForDebug
33> Task :processDebugJavaRes NO-SOURCE
34> Task :transformResourcesWithMergeJavaResForDebug
35> Task :packageDebug
36> Task :assembleDebug
37
38Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
39Use '--warning-mode all' to show the individual deprecation warnings.
40See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
41
42BUILD SUCCESSFUL in 13s
4325 actionable tasks: 12 executed, 13 up-to-date
44

Drydock: Run Gradle Lint Command

When
Completed at Nov 14 2020, 20:13 · Built for 46 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 618 (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-70/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-70/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 617 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

10> Task :generateDebugSources
11> Task :javaPreCompileDebug
12> Task :mainApkListPersistenceDebug
13> Task :generateDebugResValues
14> Task :generateDebugResources
15> Task :mergeDebugResources
16> Task :createDebugCompatibleScreenManifests
17
18> Task :processDebugManifest
19/var/drydock/workingcopy-70/repo/libre-busto/AndroidManifest.xml:39:9-45:51 Warning:
20 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
21
22> Task :processDebugResources
23
24> Task :compileDebugJavaWithJavac
25
26> Task :preReleaseBuild
27> Task :compileReleaseAidl NO-SOURCE
28> Task :compileReleaseRenderscript
29> Task :checkReleaseManifest
30> Task :generateReleaseBuildConfig
31> Task :generateReleaseSources
32> Task :javaPreCompileRelease
33> Task :mainApkListPersistenceRelease
34> Task :generateReleaseResValues
35> Task :generateReleaseResources
36> Task :mergeReleaseResources
37> Task :createReleaseCompatibleScreenManifests
38
39> Task :processReleaseManifest
40/var/drydock/workingcopy-70/repo/libre-busto/AndroidManifest.xml:39:9-45:51 Warning:
41 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
42
43> Task :processReleaseResources
44
45> Task :compileReleaseJavaWithJavac
46
47> Task :lint
48Ran lint on variant release: 125 issues found
49Ran lint on variant debug: 125 issues found
50Wrote HTML report to file:///var/drydock/workingcopy-70/repo/libre-busto/build/reports/lint-results.html
51Wrote XML report to file:///var/drydock/workingcopy-70/repo/libre-busto/build/reports/lint-results.xml
52
53Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
54Use '--warning-mode all' to show the individual deprecation warnings.
55See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
56
57BUILD SUCCESSFUL in 44s
5826 actionable tasks: 26 executed
59

Lease BusTO Working Copy

When
Completed at Nov 14 2020, 20:12 · Built for 1 s
Status
Passed

Wait for Previous Commits to Build

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

Event Timeline