Skip to content

Commit c3e1fa1

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 31d089b commit c3e1fa1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/debos.yml

Lines changed: 7 additions & 2 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
86-
cp -v disk-ufs.img.gz "${dir}"
87-
cp -v disk-sdcard.img.gz "${dir}"
88+
cp -av rootfs.tar.gz "${dir}"
89+
cp -av dtbs.tar.gz "${dir}"
90+
cp -av disk-ufs.img.gz "${dir}"
91+
cp -av 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)