Split raspberry pi build into a separate workflow
Build Kiosk Image (Raspberry Pi) / rpi (push) Canceled after 9s
Build Kiosk Images (x86) / android (push) Successful in 4m4s
Build Kiosk Images (x86) / commercial (push) Successful in 3m47s
Build Kiosk Images (x86) / kiosk (push) Successful in 3m41s

This commit is contained in:
NeilClack
2026-10-04 18:34:31 -05:00
parent 44d402b179
commit eafa4b6e26
2 changed files with 135 additions and 16 deletions
+7 -16
View File
@@ -1,20 +1,18 @@
# One build workflow for every branch — do not add per-branch copies.
# One build workflow per hardware family, identical on every branch — do not
# add per-branch copies. build-rpi.yaml is the same file with a different matrix.
#
# The branch/ref selects the channel, nothing else does: the flake's `channel`
# block picks the app input, Attic repo, and upgrade ref, so the same config
# names build dev images on `dev` and prod images on `main`. This file itself
# is identical on both branches.
# names build dev images on `dev` and prod images on `main`.
#
# Trigger model:
# * push to `dev` -> build every development image
# * new git tag -> build every production image (tags live on main)
# * manual dispatch -> build the channel of the selected branch
#
# Hardware variants come from an include-matrix:
# This file builds the x86_64 ISO variants:
# ISO variants -> .config.system.build.isoImage (storeContents pulls in the closure)
# Raspberry Pi -> .config.system.build.sdImage
# `orion-lxc` emulates aarch64-linux, so the Pi build runs alongside the rest.
name: Build Kiosk Images
name: Build Kiosk Images (x86)
on:
workflow_dispatch:
@@ -41,14 +39,7 @@ jobs:
include:
# NOTE: Gitea schedules matrix jobs in reverse definition order on
# the single orion-lxc runner, so the list is reversed on purpose:
# rpi -> android -> commercial -> kiosk means kiosk builds FIRST.
- label: rpi
system: radiantwavekiosk-rpi
target: sdImage
outdir: sd-image
ext: img.zst
arch: aarch64-linux
manifest: aarch64-manifest.json
# android -> commercial -> kiosk means kiosk builds FIRST.
- label: android
system: android-iso
target: isoImage
@@ -150,4 +141,4 @@ jobs:
"/var/lib/gitea-runner/radiantwave/${FILENAME}"
scp "/var/lib/gitea-runner/radiantwave/${FILENAME}" \
157.245.124.103:/mnt/infrastructure_data/files/images/
rm -f "/var/lib/gitea-runner/radiantwave/${FILENAME}"
rm -f "/var/lib/gitea-runner/radiantwave/${FILENAME}"