Skip to content

Commit db7a65a

Browse files
authored
Build adafruithat & planktoscopehat variants of bookworm OS images (#537)
* Try to build adafruithat & planktoscopehat variants of bookworm OS images * Make GitHub Actions logs slightly nicer * Remove unused environment variable * Reduce build-os workflow timeout * Bump pishrink-action
1 parent b17c1e6 commit db7a65a

File tree

5 files changed

+18
-62
lines changed

5 files changed

+18
-62
lines changed

.github/workflows/build-os-bookworm-dx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
variant:
37-
- none
38-
- segmenter-only
37+
- adafruithat
38+
- planktoscopehat
3939
base_variant_name:
4040
- desktop
4141
permissions:
@@ -45,7 +45,7 @@ jobs:
4545
uses: ./.github/workflows/build-os.yml
4646
secrets: inherit
4747
with:
48-
name: rpi-forklift-demo
48+
name: planktoscope
4949
base_release_name: bookworm
5050
base_image_variant: ${{ matrix.base_variant_name }}
5151
base_release_date: 2024-11-19

.github/workflows/build-os-bookworm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
variant:
37-
- none
38-
- segmenter-only
37+
- adafruithat
38+
- planktoscopehat
3939
base_variant_name:
4040
- lite
4141
permissions:
@@ -45,7 +45,7 @@ jobs:
4545
uses: ./.github/workflows/build-os.yml
4646
secrets: inherit
4747
with:
48-
name: rpi-forklift-demo
48+
name: planktoscope
4949
base_release_name: bookworm
5050
base_image_variant: ${{ matrix.base_variant_name }}
5151
base_release_date: 2024-11-19

.github/workflows/build-os-bullseye-fairscope.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/build-os-bullseye.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
variant:
3737
- adafruithat
3838
- planktoscopehat
39+
- fairscope-latest
3940
base_variant_name:
4041
- lite
4142
permissions:

.github/workflows/build-os.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ jobs:
3636
name: Build image
3737
runs-on: ubuntu-24.04-arm
3838
env:
39-
KERNEL_VERSION: 6.1.21
4039
SETUP_USER: pi
4140
permissions:
4241
contents: read
4342
packages: write
4443
id-token: write
45-
timeout-minutes: 90
44+
timeout-minutes: 30
4645
steps:
4746
- name: Get actual repo & commit SHA
4847
run: |
@@ -236,7 +235,16 @@ jobs:
236235
key: "container-images-${{ inputs.arch }}-pallet-${{ env.PALLET }}"
237236
path: ${{ steps.setup-precaching.outputs.path }}
238237

239-
- name: Copy pre-downloaded container images into image
238+
# Note: the following step isn't strictly necessary, but it's nice to separate the GitHub
239+
# Actions log outputs for setting up pinspawn-action for the first time from the logs for
240+
# pre-downloading container images
241+
- name: Install pinspawn-action dependencies
242+
uses: ethanjli/pinspawn-action@v0.1.4
243+
with:
244+
image: ${{ steps.expand-image.outputs.destination }}
245+
run: echo "Done!"
246+
247+
- name: Copy pre-downloaded container images into OS image
240248
uses: ethanjli/pinspawn-action@v0.1.4
241249
with:
242250
image: ${{ steps.expand-image.outputs.destination }}

0 commit comments

Comments
 (0)