Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: build: upload the RAUC bundle at the end of the build #175

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

hnez
Copy link
Member

@hnez hnez commented Aug 30, 2024

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.

@hnez hnez requested a review from jluebbe August 30, 2024 09:43
@hnez
Copy link
Member Author

hnez commented Aug 30, 2024

I've manually canceled the build/build job, because currently there is a job running on the scarthgap branch right now that will update the sstate once it is done.

Waiting for that to complete and then re-starting the build process will be faster in total.

@hnez hnez force-pushed the upload-rauc-bundle branch 4 times, most recently from b08fce1 to 997b3e1 Compare August 30, 2024 12:34
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.

The upload step is configured to upload the file that has the build
date and time in its filename and not the symlink linking to it.

(The upper one in this listing:)

  $ ls -ahl lxatac-core-bundle-base-*
  -rw-r--r-- 1 lgo lgo 299M Aug 30 13:02 lxatac-core-bundle-base-lxatac-20240830102608.raucb
  lrwxrwxrwx 1 lgo lgo   51 Aug 30 13:02 lxatac-core-bundle-base-lxatac.raucb -> lxatac-core-bundle-base-lxatac-20240830102608.raucb

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez force-pushed the upload-rauc-bundle branch from 997b3e1 to ed63b78 Compare August 30, 2024 12:50
@hnez
Copy link
Member Author

hnez commented Aug 30, 2024

It took some iterations but now exactly one RAUC bundle is uploaded if the job succeeded.

@hnez hnez marked this pull request as ready for review August 30, 2024 13:17
@jluebbe jluebbe merged commit 5bce788 into linux-automation:scarthgap Aug 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants