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

fix: generation of SBC images #70

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

smira
Copy link
Member

@smira smira commented Dec 15, 2023

The fix is in siderolabs/talos#8076

Also bump the hash to flush the SBC cached images.

Fixes #65

The fix is in siderolabs/talos#8076

Also bump the hash to flush the SBC cached images.

Fixes siderolabs#65

Signed-off-by: Andrey Smirnov <[email protected]>
@@ -233,7 +233,7 @@ func testDownloadFrontend(ctx context.Context, t *testing.T, baseURL string) {
t.Run("rpi image", func(t *testing.T) {
t.Parallel()

downloadAssetAndMatchSize(ctx, t, baseURL, emptySchematicID, talosVersion, "metal-rpi_generic-arm64.raw.xz", "application/x-xz", 66574172)
downloadAssetAndMatchSize(ctx, t, baseURL, emptySchematicID, talosVersion, "metal-rpi_generic-arm64.raw.xz", "application/x-xz", 107183936)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the image getting correct size is the sign of the fix working :)

// update the hash value to force rebuild assets once the bug is fixed
//
// 1. errata https://github.com/siderolabs/image-factory/issues/65
if p.Board != "" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooohhh, I like this way of adding tests for errara

@smira
Copy link
Member Author

smira commented Dec 15, 2023

/m

@talos-bot talos-bot merged commit 296e953 into siderolabs:main Dec 15, 2023
2 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.

Raspberry Pi image through factory not working
3 participants