ci: Run Linux test/AppImage on python-3.12 instead of ubuntu-full (issue #156) #157

Merged
ValleyGeek merged 4 commits from 0.4.2/issue-156-ci-image-optimize into main 2026-08-12 22:07:43 +00:00
Member

Summary

Stops Linux CI from using the multi-GB ubuntu-full runner image and documents host-side cleanup for orphaned digests.

  • test and AppImage use runs-on: python-3.12 (python:3.12-bookworm, ~0.4 GB) instead of ubuntu-full (~18 GB compressed)
  • Checkout via git clone + system Python (no Node composite Actions)
  • Test installs Qt offscreen runtime libs via apt; AppImage installs build/security packages only when a build is needed
  • Adds scripts/prune-runner-docker-images.sh for reclaiming orphaned full-style images on act_runner hosts
  • Documents labels, pin-digest / forcePull guidance, and prune steps in DEVELOPMENT.md (DR-035)

No VERSION bump — workflows/docs/scripts only (compiled-inputs-changed.sh origin/main exit 1).

Closes #156

Test plan

  • CI run on this branch: lint + test + AppImage success on python:3.12-bookworm
    • Test: 671 passed, 1 skipped
    • AppImage: full Nuitka build succeeded on the modest image
  • After merge: on each Linux act_runner host, dry-run then apply:
    ./scripts/prune-runner-docker-images.sh
    ./scripts/prune-runner-docker-images.sh --apply --all-dangling
    
  • Optional: remove unused ubuntu-full label from runner config so it is never pulled again
## Summary Stops Linux CI from using the multi-GB `ubuntu-full` runner image and documents host-side cleanup for orphaned digests. - **`test` and AppImage** use `runs-on: python-3.12` (`python:3.12-bookworm`, ~0.4 GB) instead of `ubuntu-full` (~18 GB compressed) - Checkout via `git clone` + system Python (no Node composite Actions) - Test installs Qt offscreen runtime libs via apt; AppImage installs build/security packages only when a build is needed - Adds `scripts/prune-runner-docker-images.sh` for reclaiming orphaned full-style images on act_runner hosts - Documents labels, pin-digest / forcePull guidance, and prune steps in `DEVELOPMENT.md` (DR-035) **No `VERSION` bump** — workflows/docs/scripts only (`compiled-inputs-changed.sh origin/main` exit 1). Closes #156 ## Test plan - [x] CI run on this branch: lint + test + AppImage success on `python:3.12-bookworm` - Test: 671 passed, 1 skipped - AppImage: full Nuitka build succeeded on the modest image - [ ] After merge: on each Linux act_runner host, dry-run then apply: ```bash ./scripts/prune-runner-docker-images.sh ./scripts/prune-runner-docker-images.sh --apply --all-dangling ``` - [ ] Optional: remove unused `ubuntu-full` label from runner config so it is never pulled again
Drop ubuntu-full (~18 GB full runner images) for test and AppImage jobs.
Reuse the modest python-3.12 label already used by lint/prune, install only
required apt packages, and avoid Node composite Actions via git clone.
docs: CI image policy, runner prune helper, and DR-035 (issue #156)
Some checks failed
CI / lint (push) Successful in 23s
CI / test (push) Failing after 1m38s
CI / appimage (push) Has been skipped
CI / windows-exe (push) Has been skipped
CI / build-appimage (push) Failing after 0s
CI / build-windows-exe (push) Failing after 0s
2dd1c66c37
Document modest runner labels, host-side full-image cleanup, and add
scripts/prune-runner-docker-images.sh for reclaiming orphaned digests on
act_runner hosts. Record the decision as DR-035.
ci: install full Qt runtime libs on python-3.12 test image
All checks were successful
CI / lint (push) Successful in 30s
CI / test (push) Successful in 3m56s
CI / appimage (push) Successful in 17m33s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 13m9s
CI / build-windows-exe (push) Successful in 0s
c517374846
The modest base lacks libs that ubuntu-full shipped by default; PySide6
failed to import with missing libdbus-1.so.3. Expand the apt set for
offscreen/pytest-qt.
Runner logs show forcePull=true for python:3.12-bookworm; document
that force-pulling floating tags contributes to orphaned layers.
ValleyGeek deleted branch 0.4.2/issue-156-ci-image-optimize 2026-08-12 22:07:44 +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
ai-collab/bulk-image-organizer!157
No description provided.