fix(ci): Android APK build in bookworm sibling container #29

Merged
sirius merged 1 commit from wt/t_87d7245b into main 2026-09-12 05:13:47 +00:00
Owner

Summary

Follow-up to merged #26. Stop apt-getting on the EOL node:20-bullseye job image (expired/404 debian-security). Build inside a sibling eclipse-temurin:17-jdk-bookworm container (stdin-tar + docker cp), same pattern as the Rust CI jobs. Static docker CLI is fetched if the job image has no docker.

dry_run

Dispatching dry_run=true on this branch. First version with zero tags is v0.1.0 / versionCode 100. A failed publish that created a tag now deletes it so the next run retries the same version.

Signing

Preferred path is already on main from #26: repo-owned keystore via Forgejo secrets ANDROID_KEYSTORE_*. Local copy at ~/.android/onionwire-release.jks (mode 600). Cert SHA-256 C7:18:9A:2A:C2:0B:DF:C0:7C:13:CE:55:CF:05:A6:48:64:37:33:D5:E9:90:F3:93:A0:F8:AC:CE:17:DF:6C:62. Lance should confirm or replace those secrets — this is not a silent debug-key decision.

Not in this PR

No Acquire::Check-Valid-Until=false, no archive.debian.org.

## Summary Follow-up to merged #26. Stop apt-getting on the EOL `node:20-bullseye` job image (expired/404 debian-security). Build inside a sibling `eclipse-temurin:17-jdk-bookworm` container (stdin-tar + docker cp), same pattern as the Rust CI jobs. Static docker CLI is fetched if the job image has no `docker`. ## dry_run Dispatching `dry_run=true` on this branch. First version with zero tags is **v0.1.0** / versionCode 100. A failed publish that *created* a tag now deletes it so the next run retries the same version. ## Signing Preferred path is already on main from #26: repo-owned keystore via Forgejo secrets `ANDROID_KEYSTORE_*`. Local copy at `~/.android/onionwire-release.jks` (mode 600). Cert SHA-256 `C7:18:9A:2A:C2:0B:DF:C0:7C:13:CE:55:CF:05:A6:48:64:37:33:D5:E9:90:F3:93:A0:F8:AC:CE:17:DF:6C:62`. Lance should confirm or replace those secrets — this is not a silent debug-key decision. ## Not in this PR No `Acquire::Check-Valid-Until=false`, no archive.debian.org.
fix(ci): build Android APK in a bookworm sibling container
All checks were successful
ci / test (pull_request) Successful in 4m57s
c087b223e9
node:20-bullseye (the amd64 job image) is EOL; apt-get there fails on
expired/404 security indexes. Run JDK 17 + SDK/NDK + cargo-ndk inside
eclipse-temurin:17-jdk-bookworm via docker create + stdin tar, matching
the Rust CI pattern. Fetch a static docker CLI if the job image lacks
one. On publish failure after creating a tag, delete that tag so the
next run retries the same version (first release stays v0.1.0).
sirius merged commit 3e72f40e0e into main 2026-09-12 05:13:47 +00:00
sirius deleted branch wt/t_87d7245b 2026-09-12 05:13:47 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/onionwire!29
No description provided.