-
Notifications
You must be signed in to change notification settings - Fork 416
Adding VersionStream for gitlab-pages-18.6 #72532
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
Conversation
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The git checkout operation failed because the actual commit hash for tag v18.6.0 (2c0f7c11200f3d701cc4fe6fbb4be0efa5587ba5) does not match the expected commit hash (7bca874b3d408b732425cafd1d191d5953ed1a11) specified in the build configuration. This indicates either the tag was moved/updated in the upstream repository, or there's a mismatch in the build configuration's expected commit reference. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: gitlab-pages-18.6.yaml
Replacement: Content: Click to expand fix analysisAnalysisLooking at the three similar fixes, there's a clear pattern: all failures were resolved by updating the expected-commit hash in the git-checkout step to match the actual commit hash found in the upstream repository. In all cases, the tag existed but pointed to a different commit than what was specified in the build configuration. The fixes involved replacing the old expected-commit value with the new commit hash that the tag actually points to (Fix #0: updated to b7cdc2ac78f7dabac1f9312ee96b6dedaf91171f, Fix #1 & #2: updated to 4578380d63e1b5f72146bf006dd52401dc2fc943). No other changes were made to the YAML files - the solution is simply updating the expected-commit field to reflect the current state of the upstream repository. Click to expand fix explanationExplanationThis fix should work because the error message clearly indicates that the build system found a different commit hash (2c0f7c11200f3d701cc4fe6fbb4be0efa5587ba5) than what was expected (7bca874b3d408b732425cafd1d191d5953ed1a11) for tag v18.6.0. This is exactly the same issue pattern seen in all three similar fixes, where upstream tags were pointing to different commits than specified in the build configuration. By updating the expected-commit field to match the actual commit hash that the tag points to, the git-checkout step will succeed because the verification will pass. The tag v18.6.0 exists and is valid, but it simply points to a different commit than originally configured, which is common when upstream repositories update or move tags. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
0d872a1 to
98013ba
Compare
Signed-off-by: David Negreira <david.negreira@chainguard.dev>
|
the sbom does not report the go version properly: |
|
I pushed a fix on that fixes it: |
aborrero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
No description provided.