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: enable artifact upload to the local Forrest runner #196

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

hnez
Copy link
Member

@hnez hnez commented Oct 23, 2024

This makes it so that artifacts are no longer uploaded via the internet to GitHub's cloud infrastructure but instead stay on the physical server the builds run on.

Since the built images will mostly be consumed from within the building the server is located in this should reduce the upload bandwidth used, allowing us to also upload the eMMC image and not only the RAUC bundle.

Since the uploaded files are served from a webserver as-is, instead of being packaged in a zip file like "normal" artifacts are, they can also be used in a rauc install call directly, making testing of a build much easier.

The artifact file that is uploaded to GitHub's infrastructure contains .desktop files with Link=https://... entries withing them that point to the location of the actual file.

This makes it so that artifacts are no longer uploaded via the internet to
GitHub's cloud infrastructure but instead stay on the physical server the
builds run on.

Since the built images will mostly be consumed from within the building the
server is located in this should reduce the upload bandwidth used,
allowing us to also upload the eMMC image and not only the RAUC bundle.

Since the uploaded files are served from a webserver as-is,
instead of being packaged in a zip file like "normal" artifacts are,
they can also be used in a `rauc install` call directly,
making testing of a build much easier.

The artifact file that _is_ uploaded to GitHub's infrastructure contains
`.desktop` files with `Link=https://...` entries withing them that point
to the location of the actual file.

Signed-off-by: Leonard Göhrs <[email protected]>
@jluebbe jluebbe merged commit 1c5fa24 into linux-automation:scarthgap Oct 23, 2024
4 checks passed
@hnez hnez deleted the forrest-artifact-upload branch October 23, 2024 12:21
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