perf: parallelize APK deploy and reduce fetch-depth in deploy.yml (#171) #188

Merged
guettlibot merged 2 commits from issue-171-fix into main 2026-05-23 16:55:09 +00:00
guettlibot commented 2026-05-23 16:47:22 +00:00 (Migrated from codeberg.org)

Summary

  • Split the sequential deploy-playstore job into two parallel jobs: deploy-playstore (Play Store only) and deploy-apk (APK server deploy). Both use the same Dagger remote engine cache, so the second job hits cached Android toolchain layers — wall-clock drops from T_publish + T_deploy_apk to max(T_publish, T_deploy_apk).
  • Reduced fetch-depth from 50 to 1 in all jobs — CI never needs git history (changelog generation is a local task, not a CI step; git rev-parse --short HEAD works with depth 1).
  • Updated publish-website.needs and label-deploy-health.needs to include the new deploy-apk job so downstream jobs still wait for everything.

Test plan

  • Verify deploy-playstore job no longer contains the APK deploy step
  • Verify new deploy-apk job runs in parallel with deploy-playstore and build-linux
  • Verify publish-website waits for all three parallel jobs before running
  • Verify label-deploy-health waits for all four jobs before updating

Fixes #171

## Summary - Split the sequential `deploy-playstore` job into two parallel jobs: `deploy-playstore` (Play Store only) and `deploy-apk` (APK server deploy). Both use the same Dagger remote engine cache, so the second job hits cached Android toolchain layers — wall-clock drops from `T_publish + T_deploy_apk` to `max(T_publish, T_deploy_apk)`. - Reduced `fetch-depth` from 50 to 1 in all jobs — CI never needs git history (changelog generation is a local `task`, not a CI step; `git rev-parse --short HEAD` works with depth 1). - Updated `publish-website.needs` and `label-deploy-health.needs` to include the new `deploy-apk` job so downstream jobs still wait for everything. ## Test plan - [ ] Verify `deploy-playstore` job no longer contains the APK deploy step - [ ] Verify new `deploy-apk` job runs in parallel with `deploy-playstore` and `build-linux` - [ ] Verify `publish-website` waits for all three parallel jobs before running - [ ] Verify `label-deploy-health` waits for all four jobs before updating Fixes #171
Sign in to join this conversation.