kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Finish the release_kolibri.yml platform build migration

Open rtibbles opened this issue 4 months ago • 2 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

release_kolibri.yml still builds the macOS dmg, Windows exe, and Android apk — and runs the Android release — from the old external installer repos, even though release-ready local builders already exist and the PR build uses them. Finish the release-path migration, and close two release-only regressions surfaced alongside it.

Complexity: Medium Target branch: develop

Context

  • pr_build_kolibri.yml already builds every platform via local ./.github/workflows/platform-*-build_*.yml.
  • release_kolibri.yml still calls learningequality/[email protected] (:58), [email protected] (:92), [email protected] (:122, :236).
  • The external builders took a ref: input to check out a tag.
  • The local builders have no ref input, so the with: blocks need reworking rather than a straight path swap.
  • Local builders declare signing secrets as required: false.
  • A swap that forgets to pass those secrets silently produces unsigned dmg/exe/apk.
  • kolibri-server is never built or published during a release.
  • Its Launchpad publish (platform-debian-server-release.yml) is workflow_dispatch-only and unwired.
  • The release Pi job (:110) passes deb-file-name but not server-deb-file-name.
  • So the released Pi image ships without kolibri-server, though the PR-built image includes it (pr_build_kolibri.yml:51-55).

Out of Scope

  • The main Kolibri .deb builder and APT publishing (release_kolibri.yml:79) — tracked by #14966, #14965, #14979.
  • GNOME/Flatpak release path — #14969.

Acceptance Criteria

  • [ ] release_kolibri.yml builds the macOS dmg, Windows exe, and Android apk via local ./.github/workflows/platform-* builders, with no learningequality/kolibri-* cross-repo uses: remaining (deb excepted, per Out of Scope).
  • [ ] The Android release/publish step runs via the local platform-android-release_apk.yml.
  • [ ] Released dmg, exe, and apk are signed.
  • [ ] A release run missing signing secrets fails rather than shipping unsigned artifacts.
  • [ ] The kolibri-server .deb is built and published as part of a Kolibri release.
  • [ ] The released Raspberry Pi image includes the kolibri-server deb, matching the PR-built image.

References

  • Completed platform migrations whose release path this finishes: #14968, #14997, #14964, #14967.

AI usage

Claude Code read the workflows and reported the stale cross-repo uses: and the two release-only regressions. I verified the cited release_kolibri.yml lines and edited the issue.

rtibbles avatar Jul 23 '26 20:07 rtibbles

Plan: Migrate release_kolibri.yml off the external learningequality/kolibri-* installer repos onto the local platform-* builders, and close the two release-only regressions (unsigned artifacts on missing secrets; kolibri-server absent from the release and Pi image).

  • [ ] Swap macOS / Windows / Android builds to local builders
  • [ ] Wire the Android release/publish to the local builder
  • [ ] Fail-fast signing-secret guards in the three builders
  • [ ] Build the kolibri-server deb during release and include it in the Pi image
  • [ ] Wire the kolibri-server Launchpad publish + release asset/GCS upload

@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?
  • Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
  • Ran the project's full test suite and linter before committing
  • For UI changes: captured live screenshots to verify rendering
  • For backend changes: verified with example API/CLI output

rtibblesbot avatar Jul 23 '26 23:07 rtibblesbot

The bot has been waiting for a response for 2 hour(s). It will resume automatically when someone replies.

rtibblesbot avatar Jul 24 '26 02:07 rtibblesbot