funman300
2f3a6b9586
fix(ci): dump env at build time to diagnose ANDROID_HOME visibility
...
Android Build / build-apk (push) Failing after 3m23s
Build and Deploy / build-and-push (push) Failing after 40s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:37:37 -07:00
funman300
bfadcf0e0d
fix(ci): add SDK layout debug step to diagnose platforms-not-found error
...
Android Build / build-apk (push) Failing after 3m19s
Build and Deploy / build-and-push (push) Successful in 42s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:28:10 -07:00
funman300
c90c783177
fix(ci): set ANDROID_HOME/NDK_HOME in workflow env block instead of GITHUB_ENV
...
Android Build / build-apk (push) Failing after 3m23s
Build and Deploy / build-and-push (push) Successful in 40s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:23:58 -07:00
funman300
62be72e918
fix(ci): bust SDK cache key to force fresh SDK install after prior broken cache
...
Android Build / build-apk (push) Failing after 3m16s
Build and Deploy / build-and-push (push) Failing after 39s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:18:57 -07:00
funman300
1f46785b31
fix(ci): add apt-get update before package install to fix exit code 100
...
Android Build / build-apk (push) Failing after 3m50s
Build and Deploy / build-and-push (push) Successful in 39s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:14:32 -07:00
funman300
396ba6bc97
fix(ci): always install Java regardless of SDK cache hit; harden release creation
...
Android Build / build-apk (push) Failing after 13s
Build and Deploy / build-and-push (push) Successful in 38s
Android Release / build-release-apk (push) Failing after 11s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:11:42 -07:00
funman300
0f65031114
ci: add Android release workflow — sign and publish APK on version tag
...
Android Build / build-apk (push) Failing after 11s
Build and Deploy / build-and-push (push) Successful in 23s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 10:10:27 -07:00
funman300
ea079af9e1
ci: add Android APK build workflow
...
Android Build / build-apk (push) Failing after 59s
Build and Deploy / build-and-push (push) Successful in 26s
Triggers on every master push that touches app/engine/asset code
(ignores deploy/, argocd/, solitaire_server/, *.md).
Three-layer cache strategy:
1. Android SDK + NDK keyed by NDK + build-tools versions (~2 GB, stable)
2. cargo-apk binary keyed by OS + toolchain (avoids recompiling the tool)
3. Cargo registry + build artifacts keyed by Cargo.lock + SHA
Outputs a debug APK as a workflow artifact retained for 30 days.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 22:56:34 -07:00
funman300
228ebbad8a
fix(ci): rebase before kustomization push to handle concurrent runs
...
Two runs for the same SHA racing to push the kustomization update
caused the second to fail with "failed to push some refs".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 16:36:42 -07:00
funman300
f8c8c9158e
ci: add Docker BuildKit registry cache to speed up Rust builds
...
Caches compiled dependency layers in the Gitea registry under
:buildcache. Subsequent builds that only touch solitaire_server/src/
skip recompiling the full workspace dependency tree.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 16:28:10 -07:00
funman300
9983b873f9
feat(ops): add k3s + ArgoCD GitOps pipeline
...
- Dockerfile: copy web/ and assets/ to runtime stage so ServeDir routes work
- .gitea/workflows/docker-build.yml: build/push image on master push, pin SHA
tag back into deploy/kustomization.yaml so ArgoCD sees a real manifest change
- deploy/: Kustomize manifests — Namespace, PVC, Deployment (Recreate for
SQLite), Service, Traefik Ingress at klondike.aleshym.co
- argocd/application.yaml: auto-sync Application watching deploy/ on Gitea
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 13:53:09 -07:00