Skip to content

Commit f10e6a1

Browse files
committed
workflows: debos: Download pre-built artifacts
Signed-off-by: Loïc Minier <[email protected]>
1 parent d805999 commit f10e6a1

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/debos.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,25 @@ jobs:
3838
image: debian:trixie
3939
volumes:
4040
- /srv/gh-runners/quic-yocto/builds:/fileserver-builds
41+
- /srv/gh-runners/quic-yocto/downloads/qcom-deb-images:/fileserver-downloads
4142
options: --privileged
4243
steps:
4344
- uses: actions/checkout@v4
4445
with:
4546
fetch-depth: 0
4647

48+
- name: Copy Linux deb and U-Boot for RB1 from fileserver's downloads
49+
run: |
50+
set -ux
51+
# e.g.
52+
# linux-image-6.15.0-..._6.15.0...-1_arm64.deb but not
53+
# linux-image-6.15.0-...-dbg_6.15.0...-1_arm64.deb
54+
find /fileserver-downloads/linux-deb-latest/ \
55+
-name linux-image\*.deb \
56+
-not -name linux-image\*-dbg_\*.deb \
57+
-exec cp -av '{}' . \;
58+
cp -av /fileserver-downloads/u-boot-rb1-latest/rb1-boot.img .
59+
4760
# make sure we have latest packages first, to get latest fixes and to
4861
# avoid an automated update while we're building
4962
- name: Update OS packages
@@ -60,7 +73,8 @@ jobs:
6073
run: |
6174
set -x
6275
# start by building the root filesystem
63-
debos qualcomm-linux-debian-rootfs.yaml
76+
debos -t localdebs:$(ls linux-image*.deb) \
77+
qualcomm-linux-debian-rootfs.yaml
6478
# debos tries KVM and UML as backends, and falls back to
6579
# building directly on the host, but that requires loop
6680
# devices; use qemu backend explicitly even if it's slower
@@ -72,7 +86,7 @@ jobs:
7286
debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \
7387
qualcomm-linux-debian-image.yaml
7488
# build flashable files
75-
debos qualcomm-linux-debian-flash.yaml
89+
debos -t u_boot_rb1:rb1-boot.img qualcomm-linux-debian-flash.yaml
7690
7791
- name: Upload artifacts to fileserver
7892
run: |

0 commit comments

Comments
 (0)