fix(ci): Android APK build in debian:bookworm sibling container #30
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_87d7245b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
CI Android release on
docker-amd64without apt on EOLnode:20-bullseye. Siblingdebian:bookwormcontainer (stdin-tar + docker cp).dry_run=trueproduced a real signed APK.dry_run evidence
Run: https://forgejo.siriusdevops.com/sirius/onionwire/actions/runs/133
version=0.1.0 tag=v0.1.0 versionCode=100 dry_run=true(joined latest tag; did not mint 0.1.1)BUILD SUCCESSFUL in 5m 39s(cached); job wall-clock ~8 min (06:37:48Z–06:46:08Z)--librarypath; later cached runs ~6 minapk_bytes=33152896aar_bytes=7223286(non-zero)file: Android package (APK)unzip -l:lib/arm64-v8a/libonionwire_sdk.so24602928 bytessha256sum -c: onionwire-0.1.0-android-arm64-v8a.apk: OKapksigner verify --print-certs: DNC=US, O=siriusdevops, OU=siriusdevops, CN=OnionWire; SHA-256c7189a2ac20bdfc07c13ce55cf05a648643733d5e990f393a0f8acce17df6c62aapt:versionCode='100' versionName='0.1.0'ndkVersion:'26'targetSdkVersion:'36'dry_run)debian:bookworm117MB.docker system df: images 2.665GB, volumes 8.392GB. Overlay used 146G/214G (72%).Signing
Preferred path: repo-owned PKCS12, Forgejo secrets
ANDROID_KEYSTORE_BASE64/_PASSWORD/ANDROID_KEY_ALIAS/ANDROID_KEY_PASSWORD. Local copy~/.android/onionwire-release.jks(mode 600) so laptop and CI share the cert. CI setsONIONWIRE_REQUIRE_RELEASE_KEY=true(fail closed). Not the debug key. Lance should confirm or replace that keystore — I generated it for continuity; backup the JKS.Version
Zero tags → 0.1.0. Else patch+1 unless the latest tag's release is missing the Android APK, in which case join that tag (core owns tag creation). Never move or delete a tag.
Paths
Sources/Gradle only (
android/app/**,android/sdk/**,android/*.gradle.kts,android/gradle/**,android/gradle.properties,android/settings.gradle.kts) plus the local script and this workflow. Notandroid/README.md.Scope
Allowed files only on this PR vs main (three-dot): android-release.yml, android/README.md, android/sdk/build.gradle.kts.
build-android-local.sh/ app signing already on main via #26.