Page MenuHomeGitPull.it

Build 159
PassedPublic

Drydock: Publish Builded APK

When
Completed at Aug 5 2020, 20:30 · Built for 3 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 453 (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 Aug 5 2020, 20:30 · Built for 4 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 451 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

16:javaPreCompileDebug UP-TO-DATE
17:compileDebugJavaWithJavac UP-TO-DATE
18:compileDebugNdk NO-SOURCE
19:compileDebugSources UP-TO-DATE
20:mergeDebugShaders UP-TO-DATE
21:compileDebugShaders UP-TO-DATE
22:generateDebugAssets UP-TO-DATE
23:mergeDebugAssets UP-TO-DATE
24:extractTryWithResourcesSupportJarDebug UP-TO-DATE
25:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
26:transformClassesWithDesugarForDebug UP-TO-DATE
27:transformClassesWithDexBuilderForDebug UP-TO-DATE
28:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
29:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
30:mergeDebugJniLibFolders UP-TO-DATE
31:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
32:processDebugJavaRes NO-SOURCE
33:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
34:validateSigningDebug UP-TO-DATE
35:packageDebug UP-TO-DATE
36:assembleDebug UP-TO-DATE
37
38BUILD SUCCESSFUL in 2s
3929 actionable tasks: 29 up-to-date
40

Drydock: Run Gradle Lint Command

When
Completed at Aug 5 2020, 20:30 · Built for 30 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.
1 empty log is hidden Show all logs.

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

18:preReleaseBuild UP-TO-DATE
19:compileReleaseAidl UP-TO-DATE
20:compileReleaseRenderscript UP-TO-DATE
21:checkReleaseManifest UP-TO-DATE
22:generateReleaseBuildConfig UP-TO-DATE
23:mainApkListPersistenceRelease UP-TO-DATE
24:generateReleaseResValues UP-TO-DATE
25:generateReleaseResources UP-TO-DATE
26:mergeReleaseResources UP-TO-DATE
27:createReleaseCompatibleScreenManifests UP-TO-DATE
28:processReleaseManifest UP-TO-DATE
29:splitsDiscoveryTaskRelease UP-TO-DATE
30:processReleaseResources UP-TO-DATE
31:generateReleaseSources UP-TO-DATE
32:javaPreCompileRelease UP-TO-DATE
33:compileReleaseJavaWithJavac UP-TO-DATE
34:lint
35Ran lint on variant debug: 121 issues found
36Ran lint on variant release: 121 issues found
37Wrote HTML report to file:///var/drydock/workingcopy-35/repo/libre-busto/build/reports/lint-results.html
38Wrote XML report to file:///var/drydock/workingcopy-35/repo/libre-busto/build/reports/lint-results.xml
39
40BUILD SUCCESSFUL in 28s
4130 actionable tasks: 1 executed, 29 up-to-date
42

Lease BusTO Working Copy

When
Completed at Aug 5 2020, 20:30 · Built for 5 s
Status
Passed

Sleep

When
Completed at Aug 5 2020, 20:30 · Built for 5 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Abort Older Builds

When
Completed at Aug 5 2020, 20:29 · Built for 1 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline