-
Notifications
You must be signed in to change notification settings - Fork 416
linkerd2/25.6.3 package update #56955
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
linkerd2/25.6.3 package update #56955
Conversation
octo-sts
bot
commented
Jun 18, 2025
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The build is attempting to check out the tag 'edge-25.6.3' from the linkerd2 repository, but is incorrectly treating it as a branch rather than a tag. Git is unable to find a branch with this name in the remote repository. 🔍 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: linkerd2.yaml
Replacement: Click to expand fix analysisAnalysisThe build failure is related to git checkout, specifically when trying to check out what appears to be a tag as if it were a branch. In the similar fixed build failure (#49939), the issue was identical - the build system was attempting to use the '--branch' flag with a tag value ('v2.32.0'). The current failure shows the same pattern with the tag 'edge-25.6.3'. The git-checkout step in the Melange YAML file is using a combination of 'repository' and 'tag' parameters, but the error indicates that the system is incorrectly treating the tag as a branch name. The fix pattern suggests we need to modify how the git checkout is performed to correctly handle tags rather than branches. Click to expand fix explanationExplanationThe current build failure occurs because the Melange build system is attempting to use the tag parameter in a way that results in a git command using By changing the configuration from using
This approach avoids the incorrect assumption that the tag is a branch. The 'ref' parameter is more flexible and can refer to tags, branches, or specific commit hashes. This is the appropriate way to check out a specific tag in the Melange build system. The expected-commit parameter is kept to verify the integrity of the checkout, ensuring we get exactly the commit we expect even when checking out via a tag reference. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Ajay Kemparaj <ajaykemparaj@gmail.com>
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>