Page MenuHomeGitPull.it

Build 387
PassedPublic

Drydock: Publish Builded APK

When
Completed at Nov 22 2021, 13:23 · 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 1558 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

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

Drydock: Assemble debug APK

When
Completed at Nov 22 2021, 13:23 · 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 1556 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

22> Task :compileDebugSources UP-TO-DATE
23> Task :mergeDebugNativeDebugMetadata NO-SOURCE
24> Task :mergeDebugShaders
25> Task :compileDebugShaders NO-SOURCE
26> Task :generateDebugAssets UP-TO-DATE
27> Task :mergeDebugAssets
28> Task :compressDebugAssets
29> Task :processDebugJavaRes
30> Task :checkDebugDuplicateClasses
31> Task :desugarDebugFileDependencies
32> Task :mergeDebugJavaResource
33> Task :dexBuilderDebug
34> Task :mergeDebugJniLibFolders
35> Task :validateSigningDebug
36> Task :mergeDebugNativeLibs
37> Task :stripDebugDebugSymbols NO-SOURCE
38Daemon will be stopped at the end of the build after running out of JVM memory
39> Task :multiDexListDebug
40> Task :mergeDexDebug
41> Task :packageDebug
42> Task :assembleDebug
43
44BUILD SUCCESSFUL in 24s
4530 actionable tasks: 14 executed, 16 up-to-date
46

Drydock: Run Gradle Lint Command

When
Completed at Nov 22 2021, 13:23 · Built for 2 m, 42 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 1555 (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: Some input files use or override a deprecated API.
4Note: Recompile with -Xlint:deprecation for details.
5

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

37> Task :processDebugManifestForPackage
38> Task :mergeReleaseResources
39> Task :processDebugResources
40> Task :kaptGenerateStubsDebugKotlin
41> Task :processReleaseResources
42> Task :kaptGenerateStubsReleaseKotlin
43> Task :kaptDebugKotlin
44> Task :kaptReleaseKotlin
45> Task :compileDebugKotlin
46
47> Task :compileDebugJavaWithJavac
48
49> Task :compileReleaseKotlin
50
51> Task :compileReleaseJavaWithJavac
52
53> Task :lint
54Ran lint on variant debug: 153 issues found
55Ran lint on variant release: 152 issues found
56Wrote HTML report to file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/lint-results.html
57Wrote XML report to file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/lint-results.xml
58
59BUILD SUCCESSFUL in 2m 41s
6033 actionable tasks: 33 executed
61

Drydock: Clean Gradle

When
Completed at Nov 22 2021, 13:20 · Built for 18 s
Status
Passed
Description

Clean Gradle directory to avoid nasty errors like:

https://gitpull.it/harbormaster/build/273/

1 empty log is hidden Show all logs.

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

1Found 6.5 via distributionUrl
2Running /home/phabricator-android-builder/versions/6.5/bin/gradle clean
3Starting a Gradle Daemon (subsequent builds will be faster)
4> Task :clean
5
6BUILD SUCCESSFUL in 16s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Nov 22 2021, 13:20 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

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

Event Timeline