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

22> Task :compileDebugShaders
23> Task :generateDebugAssets
24> Task :mergeDebugAssets
25> Task :validateSigningDebug
26> Task :signingConfigWriterDebug
27/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()`
28/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()`
29/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)`
30> Task :transformClassesWithDexBuilderForDebug
31> Task :transformDexArchiveWithExternalLibsDexMergerForDebug
32> Task :transformDexArchiveWithDexMergerForDebug
33> Task :mergeDebugJniLibFolders
34> Task :transformNativeLibsWithMergeJniLibsForDebug
35> Task :processDebugJavaRes NO-SOURCE
36> Task :transformResourcesWithMergeJavaResForDebug
37> Task :packageDebug
38> Task :assembleDebug
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 24s
4525 actionable tasks: 12 executed, 13 up-to-date
46

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

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

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