-
Notifications
You must be signed in to change notification settings - Fork 416
build grafana-image-renderer for arm64 #57695
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
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The expected commit hash for tag v3.12.8 does not match the actual commit hash in the repository. This suggests either the tag has been updated in the remote repository or the commit hash specified in the build configuration is incorrect. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixes
Suggested ChangesFile: grafana-image-renderer.yaml
Replacement: Content: Click to expand fix analysisAnalysisAfter examining the similar fixed build failures, I can see a clear pattern. In all three examples, the root issue was the same: the expected commit hash in the melange YAML file didn't match the actual commit hash for the given tag in the repository. The fix pattern is consistent across all examples:
The current issue with grafana-image-renderer follows this exact pattern, where the specified commit hash (e8cb05ca1f74285a629110f06492268a30e2a172) doesn't match the actual commit hash (c167468de9bca504ea203912384259b3de998fd8) for tag v3.12.8. Click to expand fix explanationExplanationThe build is failing because the expected commit hash in the melange YAML file (e8cb05ca1f74285a629110f06492268a30e2a172) doesn't match the actual commit hash (c167468de9bca504ea203912384259b3de998fd8) that the tag v3.12.8 is now pointing to in the repository. This mismatch can happen for several reasons:
By updating the expected-commit value to match the current commit hash for the tag, we're aligning our build expectations with the current state of the repository. This allows the git-checkout step to complete successfully because the commit hash verification will now pass. The error message explicitly tells us that the expected commit is e8cb05ca1f74285a629110f06492268a30e2a172 but the actual commit found for v3.12.8 is c167468de9bca504ea203912384259b3de998fd8. By updating our expected-commit to match the actual commit, we directly address the root cause of the failure. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
|
updating the version manually fails in CI |
|
Looks like the |
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
Given that chromium now supports arm64 (ref), we can now build
grafana-image-rendererfor arm64also updates version