Skip to content

Commit 7c3edc3

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

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/debos.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,27 @@ 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+
mkdir -v local-debs
52+
# copy linux-image but not the -dbg e.g.
53+
# linux-image-6.15.0-..._6.15.0...-1_arm64.deb but not
54+
# linux-image-6.15.0-...-dbg_6.15.0...-1_arm64.deb
55+
find /fileserver-downloads/linux-deb-latest/ \
56+
-name linux-image\*.deb \
57+
-not -name linux-image\*-dbg_\*.deb \
58+
-exec cp -av '{}' local-debs/ \;
59+
# copy U-Boot RB1 binary
60+
cp -av /fileserver-downloads/u-boot-rb1-latest/rb1-boot.img .
61+
4762
# make sure we have latest packages first, to get latest fixes and to
4863
# avoid an automated update while we're building
4964
- name: Update OS packages
@@ -60,7 +75,7 @@ jobs:
6075
run: |
6176
set -x
6277
# start by building the root filesystem
63-
debos qualcomm-linux-debian-rootfs.yaml
78+
debos -t localdebs:local-debs/ qualcomm-linux-debian-rootfs.yaml
6479
# debos tries KVM and UML as backends, and falls back to
6580
# building directly on the host, but that requires loop
6681
# devices; use qemu backend explicitly even if it's slower
@@ -72,7 +87,7 @@ jobs:
7287
debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \
7388
qualcomm-linux-debian-image.yaml
7489
# build flashable files
75-
debos qualcomm-linux-debian-flash.yaml
90+
debos -t u_boot_rb1:rb1-boot.img qualcomm-linux-debian-flash.yaml
7691
7792
- name: Upload artifacts to fileserver
7893
run: |

0 commit comments

Comments
 (0)