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

Test checksums from package create #3099

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

phillebaba
Copy link
Member

Description

This change adds a new workflow which verifies the checksums of all the examples. The purpose of this is to avoid regression related to package creation.

Related Issue

Relates to #2969

Checklist before merging

@phillebaba phillebaba requested review from a team as code owners October 15, 2024 13:48
@phillebaba phillebaba force-pushed the test/package-create-checksum branch from 5293be6 to 510655f Compare October 15, 2024 13:48
Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for zarf-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 5293be6
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/670e7294b690020008572412

Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 06db099
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/670fc048a920180008847c57

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/utils/image.go 0.00% 16 Missing ⚠️
src/pkg/packager/creator/normal.go 0.00% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/packager/creator/normal.go 6.11% <0.00%> (-0.07%) ⬇️
src/pkg/utils/image.go 0.00% <0.00%> (ø)

@phillebaba phillebaba force-pushed the test/package-create-checksum branch 10 times, most recently from 008fe86 to 13a08e3 Compare October 16, 2024 11:47
@phillebaba
Copy link
Member Author

I have removed checking checksums for packages with Git repositories as they will always produce components with different shasums due to Git modifying the metadata. I have also removed checking the checksum of the SBOM as it will also produce new results on each build.

Even if we don't check everything in this test it is a good step forward to making sure a PR does not change how a package is built in unexpected ways.

@phillebaba phillebaba force-pushed the test/package-create-checksum branch from 13a08e3 to 06db099 Compare October 16, 2024 13:31
@phillebaba phillebaba added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit 8225e20 Oct 16, 2024
26 checks passed
@phillebaba phillebaba deleted the test/package-create-checksum branch October 16, 2024 14:45
mjnagel pushed a commit to mjnagel/zarf that referenced this pull request Oct 21, 2024
Signed-off-by: Philip Laine <[email protected]>
Signed-off-by: Micah Nagel <[email protected]>
Jneville0815 pushed a commit to radiusmethod/zarf that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants