Skip to content

Commit b08fce1

Browse files
committed
ci: build: upload the RAUC bundle at the end of the build
We do not want to be wasteful with the upload traffic we consume, hence why we did not upload any artifacts previously. (The sparse image for the eMMC is ~840Mb and the RAUC bundle ~290Mb). Being able to test the the generated artifacts would however be super convenient, so upload at least the RAUC bundle for now. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
1 parent dcc1694 commit b08fce1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
emmc-boot-image \
3939
tf-a-stm32mp
4040
41+
# Make the generates images available at a less deeply nested
42+
# location for the artifact upload (the directory structure is
43+
# preserved in the archive).
44+
# Keep in mind that we are in the `build` directory because
45+
# `oe-init-build-env` implicitly `cd`s there.
46+
mv tmp/deploy/images/lxatac ../images
47+
4148
- name: Print logs of failed jobs
4249
if: ${{ failure() }}
4350
shell: python3 {0}
@@ -67,3 +74,11 @@ jobs:
6774
chmod 600 ~/.ssh/id_ed25519
6875
rsync -rvx --ignore-existing build/downloads yocto-cache: || true
6976
rsync -rvx --ignore-existing build/sstate-cache yocto-cache: || true
77+
78+
- name: Upload RAUC Bundle
79+
uses: actions/upload-artifact@v4
80+
with:
81+
name: rauc-bundle
82+
path: images/lxatac-core-bundle-base*
83+
compression-level: 0
84+
retention-days: 30

0 commit comments

Comments
 (0)