Page MenuHomeGitPull.it

Build 185
PassedPublic

Drydock: Publish Builded APK

When
Completed at Nov 12 2020, 01:08 · 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 615 (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 12 2020, 01:08 · Built for 25 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 613 (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/home/phabricator-android-builder/.gradle/caches/transforms-2/files-2.1/0ef8fd8b875dee58fb945c6d9e9136dc/jars/classes.jar: D8: Type `android.graphics.Insets` was not found, it is required for default or static interface methods desugaring of `android.graphics.Insets androidx.core.graphics.Insets.toPlatformInsets()`
29/home/phabricator-android-builder/.gradle/caches/transforms-2/files-2.1/bd8345874a77905b3f3215bb21f48f99/jars/classes.jar: D8: Type `androidx.paging.PositionalDataSource` was not found, it is required for default or static interface methods desugaring of `boolean androidx.room.paging.LimitOffsetDataSource.isInvalid()`
30/home/phabricator-android-builder/.gradle/caches/transforms-2/files-2.1/178c42bcec104a63588f24650f3b8b14/jars/classes.jar: D8: Type `android.net.http.AndroidHttpClient` was not found, it is required for default or static interface methods desugaring of `com.android.volley.RequestQueue com.android.volley.toolbox.Volley.newRequestQueue(android.content.Context, com.android.volley.toolbox.BaseHttpStack)`
31> Task :transformClassesWithDexBuilderForDebug
32> Task :transformDexArchiveWithExternalLibsDexMergerForDebug
33> Task :transformDexArchiveWithDexMergerForDebug
34> Task :mergeDebugJniLibFolders
35> Task :transformNativeLibsWithMergeJniLibsForDebug
36> Task :processDebugJavaRes NO-SOURCE
37> Task :transformResourcesWithMergeJavaResForDebug
38> Task :packageDebug
39> Task :assembleDebug
40
41Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
42Use '--warning-mode all' to show the individual deprecation warnings.
43See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
44
45BUILD SUCCESSFUL in 24s
4625 actionable tasks: 12 executed, 13 up-to-date
47

Drydock: Run Gradle Lint Command

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

Build Log 612 (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 611 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 5.1.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/5.1.1/bin/gradle lint
3> Task :preBuild UP-TO-DATE
4> Task :preDebugBuild
5> Task :compileDebugAidl NO-SOURCE
6> Task :compileDebugRenderscript
7> Task :checkDebugManifest
8> Task :generateDebugBuildConfig
9> Task :prepareLintJar
10> Task :generateDebugSources
11> Task :javaPreCompileDebug
12> Task :mainApkListPersistenceDebug
13> Task :generateDebugResValues
14> Task :generateDebugResources
15> Task :mergeDebugResources
16> Task :createDebugCompatibleScreenManifests
17> Task :processDebugManifest
18> Task :processDebugResources
19
20> Task :compileDebugJavaWithJavac
21
22> Task :preReleaseBuild
23> Task :compileReleaseAidl NO-SOURCE
24> Task :compileReleaseRenderscript
25> Task :checkReleaseManifest
26> Task :generateReleaseBuildConfig
27> Task :generateReleaseSources
28> Task :javaPreCompileRelease
29> Task :mainApkListPersistenceRelease
30> Task :generateReleaseResValues
31> Task :generateReleaseResources
32> Task :mergeReleaseResources
33> Task :createReleaseCompatibleScreenManifests
34> Task :processReleaseManifest
35> Task :processReleaseResources
36
37> Task :compileReleaseJavaWithJavac
38
39> Task :lint
40Calling mockable JAR artifact transform to create file: /home/phabricator-android-builder/.gradle/caches/transforms-2/files-2.1/2ae8df04da09051421b4858a8be7b173/android.jar with input /home/phabricator-android-builder/android-sdk/platforms/android-28/android.jar
41Ran lint on variant debug: 124 issues found
42Ran lint on variant release: 124 issues found
43Wrote HTML report to file:///var/drydock/workingcopy-71/repo/libre-busto/build/reports/lint-results.html
44Wrote XML report to file:///var/drydock/workingcopy-71/repo/libre-busto/build/reports/lint-results.xml
45
46Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
47Use '--warning-mode all' to show the individual deprecation warnings.
48See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
49
50BUILD SUCCESSFUL in 42s
5126 actionable tasks: 26 executed
52

Lease BusTO Working Copy

When
Completed at Nov 12 2020, 01:07 · Built for 1 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Nov 12 2020, 01:07 · Built for 1 m, 21 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline