Split raspberry pi build into a separate workflow
This commit is contained in:
@@ -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}"
|
||||
Reference in New Issue
Block a user