Android CI/deploy support: JDK 17 + SDK 35 on runner, keystore secrets layout #9
Notifications
Due Date
No due date set.
Blocks
#57 CI: build Android (assembleDebug) on merge to master
ai_ml_operations/chat_web_app
Reference: ai_ml_operations/server-infra#9
Reference in New Issue
Block a user
Summary
Self-hosted Gitea runner needs Android build toolchain so
chat_web_appcan:master(debug APK — verify Capacitor/Gradle still works) — chat_web_app#57Today
deploy.sh/app-deploy/web-staticare web-only (node-static→ nginx). Android does not go through Ansible web deploy. This ticket is runner + secrets + docs only — do not add a newhost_appstype or extenddeploy.shfor APK/AAB delivery.Current state
npm cifor chat web workflowsANDROID_HOME/ SDK Platform 35 / build-tools documented or Ansible-managedchat_web_appllm-fe/ANDROID.mdas e.g.~/Documents/secrets/aiml-chat-upload.jks— not standardized undersecrets/<app>/…secrets_dirpattern today is Django.envfiles; no Android layoutWork
1. Runner toolchain (control / Act host)
Ensure the self-hosted runner can build Capacitor Android (AGP 8.7 / compileSdk 35):
ANDROID_HOME(andPATHforsdkmanager/ platform-tools) available to the Gitea Act runner userSmoke from runner shell:
2. Secrets layout (signing — for Deploy Android)
Standardize outside git (never commit):
Mode
600/ owned by runner user. Document copy/symlink strategy so the workflow can point Gradle atkeystore.propertieswithout writing secrets into the checkout permanently.If the existing
~/Documents/secrets/aiml-chat-upload.jksalready exists, migrate or document the canonical path above.3. Docs
IMPLEMENTATION.md(or equivalent): Android builds are workflow-only, notdeploy.sh4. Out of scope
scripts/deploy.sh/roles/app-deploy/web-static/host_appsports for APK hostingAcceptance criteria
ANDROID_HOMEset for Act jobschat_web_appworkflow (assembleDebug)keystore.propertiesunder~/Documents/secrets/chat_web_app/android/(or documented equivalent), readable by runnerIMPLEMENTATION.mddocuments Android CI vs webdeploy.shReferences
chat_web_appCapacitor stack:llm-fe/ANDROID.md,llm-fe/android/README.mdscripts/deploy.sh,deploy-prod.yml/deploy-beta.ymlin chat_web_app