Page MenuHomeGitPull.it

Build 204
PassedPublic

Drydock: Publish Builded APK

When
Completed at Nov 28 2020, 18:35 · Built instantly
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 657 (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 28 2020, 18:35 · Built for 29 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 655 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 6.1.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/6.1.1/bin/gradle assembleDebug
3> Task :preBuild UP-TO-DATE
4> Task :preDebugBuild UP-TO-DATE
5> Task :compileDebugAidl NO-SOURCE
6> Task :generateDebugBuildConfig UP-TO-DATE
7> Task :javaPreCompileDebug UP-TO-DATE
8> Task :generateDebugResValues UP-TO-DATE
9> Task :createDebugCompatibleScreenManifests UP-TO-DATE
10> Task :extractDeepLinksDebug UP-TO-DATE
11> Task :processDebugManifest UP-TO-DATE
12> Task :mergeDebugShaders
13> Task :compileDebugShaders NO-SOURCE
14> Task :generateDebugAssets UP-TO-DATE
15> Task :mergeDebugAssets
16> Task :processDebugJavaRes NO-SOURCE
17> Task :checkDebugDuplicateClasses
18> Task :desugarDebugFileDependencies
19> Task :mergeDebugJniLibFolders
20> Task :mergeDebugJavaResource
21> Task :validateSigningDebug
22> Task :compileDebugRenderscript UP-TO-DATE
23> Task :generateDebugResources UP-TO-DATE
24> Task :mergeDebugResources UP-TO-DATE
25> Task :processDebugResources UP-TO-DATE
26> Task :compileDebugJavaWithJavac UP-TO-DATE
27> Task :compileDebugSources UP-TO-DATE
28> Task :dexBuilderDebug
29> Task :mergeDebugNativeLibs
30> Task :stripDebugDebugSymbols NO-SOURCE
31> Task :mergeExtDexDebug
32> Task :mergeDexDebug
33> Task :packageDebug
34> Task :assembleDebug
35
36BUILD SUCCESSFUL in 28s
3722 actionable tasks: 12 executed, 10 up-to-date
38

Drydock: Run Gradle Lint Command

When
Completed at Nov 28 2020, 18:35 · Built for 1 m, 41 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

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

1Found 6.1.1 via distributionUrl
2Downloading missing gradle version 6.1.1
3/tmp/tmp.ehJhW3vpdK/gradle-6.1.1-bin.zip: OK
4Running /home/phabricator-android-builder/versions/6.1.1/bin/gradle lint
5
6Welcome to Gradle 6.1.1!
7
8Here are the highlights of this release:
9 - Reusable dependency cache
10 - Configurable compilation order between Groovy/Kotlin/Java/Scala
11 - New sample projects in Gradle's documentation
12
13For more details see https://docs.gradle.org/6.1.1/release-notes.html
14
15Starting a Gradle Daemon (subsequent builds will be faster)
16> Task :preBuild UP-TO-DATE
17> Task :preDebugBuild UP-TO-DATE
18> Task :compileDebugAidl NO-SOURCE
19> Task :generateDebugBuildConfig
20> Task :compileDebugRenderscript
21> Task :javaPreCompileDebug
22> Task :generateDebugResValues
23> Task :generateDebugResources
24> Task :createDebugCompatibleScreenManifests
25> Task :extractDeepLinksDebug
26
27> Task :processDebugManifest
28/var/drydock/workingcopy-72/repo/libre-busto/AndroidManifest.xml:39:9-45:51 Warning:
29 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
30
31> Task :preReleaseBuild UP-TO-DATE
32> Task :compileReleaseAidl NO-SOURCE
33> Task :mergeDebugResources
34> Task :processDebugResources
35
36> Task :compileDebugJavaWithJavac
37
38> Task :compileReleaseRenderscript
39> Task :generateReleaseBuildConfig
40> Task :generateReleaseResValues
41> Task :generateReleaseResources
42> Task :createReleaseCompatibleScreenManifests
43> Task :extractDeepLinksRelease
44
45> Task :processReleaseManifest
46/var/drydock/workingcopy-72/repo/libre-busto/AndroidManifest.xml:39:9-45:51 Warning:
47 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
48
49> Task :prepareLintJar
50> Task :javaPreCompileRelease
51> Task :mergeReleaseResources
52> Task :processReleaseResources
53
54> Task :compileReleaseJavaWithJavac
55
56> Task :lint
57Ran lint on variant debug: 107 issues found
58Ran lint on variant release: 104 issues found
59Wrote HTML report to file:///var/drydock/workingcopy-72/repo/libre-busto/build/reports/lint-results.html
60Wrote XML report to file:///var/drydock/workingcopy-72/repo/libre-busto/build/reports/lint-results.xml
61
62BUILD SUCCESSFUL in 1m 37s
6322 actionable tasks: 22 executed
64

Lease BusTO Working Copy

When
Completed at Nov 28 2020, 18:33 · Built for 2 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Nov 28 2020, 18:33 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline