Page MenuHomeGitPull.it

Build 207
PassedPublic

Drydock: Publish Builded APK

When
Completed at Dec 2 2020, 22:50 · Built for 1 s
Status
Passed
Description

The command is:

/opt/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 677 (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:50 · Built for 5 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:

/opt/libre-busto-ci-cd/bin/fdroid-docker-builder.sh
#!/bin/bash
set -euo pipefail

if [ -z "$1" ]; then
    echo "Uso: $0 <cartella-sorgente>"
    exit 1
fi

SOURCE_DIR="$(realpath "$1")"
IMAGE_NAME="${IMAGE_NAME:-fabmazza/android-build-fdroid:ubuntu}"

# 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] IMAGE_NAME=$IMAGE_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 \
   "$IMAGE_NAME" \
  launch_build_local $@

TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.

1 empty log is hidden Show all logs.

Build Log 675 (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 UP-TO-DATE
18> Task :compileDebugShaders NO-SOURCE
19> Task :generateDebugAssets UP-TO-DATE
20> Task :mergeDebugAssets UP-TO-DATE
21> Task :processDebugJavaRes NO-SOURCE
22> Task :mergeDebugJavaResource UP-TO-DATE
23> Task :checkDebugDuplicateClasses UP-TO-DATE
24> Task :dexBuilderDebug
25> Task :desugarDebugFileDependencies UP-TO-DATE
26> Task :mergeExtDexDebug UP-TO-DATE
27> Task :mergeDebugJniLibFolders UP-TO-DATE
28> Task :mergeDebugNativeLibs UP-TO-DATE
29> Task :stripDebugDebugSymbols NO-SOURCE
30> Task :validateSigningDebug UP-TO-DATE
31> Task :mergeDexDebug
32> Task :packageDebug
33> Task :assembleDebug
34
35BUILD SUCCESSFUL in 4s
3622 actionable tasks: 3 executed, 19 up-to-date
37

Drydock: Run Gradle Lint Command

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

Build Log 674 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1Note: /var/drydock/workingcopy-72/repo/libre-busto/src/it/reyboz/bustorino/ActivityMap.java uses or overrides a deprecated API.
2Note: Recompile with -Xlint:deprecation for details.
3Note: /var/drydock/workingcopy-72/repo/libre-busto/src/it/reyboz/bustorino/ActivityMap.java uses or overrides a deprecated API.
4Note: Recompile with -Xlint:deprecation for details.
5

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

19> Task :compileReleaseAidl NO-SOURCE
20> Task :compileReleaseRenderscript
21> Task :generateReleaseBuildConfig UP-TO-DATE
22> Task :javaPreCompileRelease UP-TO-DATE
23> Task :generateReleaseResValues UP-TO-DATE
24> Task :generateReleaseResources
25> Task :mergeReleaseResources UP-TO-DATE
26> Task :createReleaseCompatibleScreenManifests UP-TO-DATE
27> Task :extractDeepLinksRelease UP-TO-DATE
28> Task :processReleaseManifest UP-TO-DATE
29> Task :processReleaseResources UP-TO-DATE
30
31> Task :compileReleaseJavaWithJavac
32
33> Task :prepareLintJar UP-TO-DATE
34
35> Task :lint
36Ran lint on variant release: 103 issues found
37Ran lint on variant debug: 103 issues found
38Wrote HTML report to file:///var/drydock/workingcopy-72/repo/libre-busto/build/reports/lint-results.html
39Wrote XML report to file:///var/drydock/workingcopy-72/repo/libre-busto/build/reports/lint-results.xml
40
41BUILD SUCCESSFUL in 9s
4222 actionable tasks: 5 executed, 17 up-to-date
43

Lease BusTO Working Copy

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

Wait for Previous Commits to Build

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

Event Timeline