Page MenuHomeGitPull.it

Build 205
PassedPublic

Drydock: Publish Builded APK

When
Completed at Dec 2 2020, 22:49 · 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 665 (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 Dec 2 2020, 22:49 · Built for 10 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 663 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

13> Task :processDebugManifest UP-TO-DATE
14> Task :processDebugResources UP-TO-DATE
15> Task :compileDebugJavaWithJavac UP-TO-DATE
16> Task :compileDebugSources UP-TO-DATE
17> Task :mergeDebugShaders
18> Task :compileDebugShaders NO-SOURCE
19> Task :generateDebugAssets UP-TO-DATE
20> Task :mergeDebugAssets
21> Task :processDebugJavaRes NO-SOURCE
22> Task :checkDebugDuplicateClasses
23> Task :dexBuilderDebug
24> Task :desugarDebugFileDependencies
25> Task :mergeDebugJniLibFolders
26> Task :validateSigningDebug
27> Task :mergeDebugJavaResource
28> Task :mergeDebugNativeLibs
29> Task :stripDebugDebugSymbols NO-SOURCE
30> Task :mergeExtDexDebug
31> Task :mergeDexDebug
32> Task :packageDebug
33> Task :assembleDebug
34
35BUILD SUCCESSFUL in 9s
3622 actionable tasks: 12 executed, 10 up-to-date
37

Drydock: Run Gradle Lint Command

When
Completed at Dec 2 2020, 22:49 · Built for 43 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 662 (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-72/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-72/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 661 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

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

Lease BusTO Working Copy

When
Completed at Dec 2 2020, 22:48 · Built for 2 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Dec 2 2020, 22:48 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline