Skip to content

Commit 4ed1e31

Browse files
committed
workflows: Generate flashable images
Update list of artifacts we're uploading to fileserver. Signed-off-by: Loïc Minier <[email protected]>
1 parent b612a5e commit 4ed1e31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/debos.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
qualcomm-linux-debian-image.yaml
7070
debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \
7171
qualcomm-linux-debian-image.yaml
72+
# build flashable files
73+
debos qualcomm-linux-debian-flash.yaml
7274
7375
- name: Upload artifacts to fileserver
7476
run: |
@@ -83,8 +85,11 @@ jobs:
8385
dir="/fileserver-builds/${id}"
8486
mkdir -vp "${dir}"
8587
# copy output files
88+
cp -v rootfs.tar.gz "${dir}"
89+
cp -v dtbs.tar.gz "${dir}"
8690
cp -v disk-ufs.img.gz "${dir}"
8791
cp -v disk-sdcard.img.gz "${dir}"
92+
tar -cvf "${dir}"/flash.tar.gz disk-ufs.img1 disk-ufs.img2 flash_*
8893
# instruct fileserver to publish this directory
8994
url="${FILESERVER_URL}/${id}/"
9095
curl -X POST -H 'Accept: text/event-stream' "${url}"

0 commit comments

Comments
 (0)