-
Notifications
You must be signed in to change notification settings - Fork 416
gitlab-runner-18.0/18.0.3 package update #55980
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
gitlab-runner-18.0/18.0.3 package update #55980
Conversation
octo-sts
bot
commented
Jun 11, 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 expecting a specific commit hash (4e717029caf97ec9d98fb87cfa7cee462ac0f81c) for tag v0.0.15 in the base-images repository, but found a different commit hash (2387d5988168d327b3ae2fc176d01648e815437e). This mismatch is causing the build to fail because the expected commit doesn't match the actual commit for the specified tag. 🔍 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: gitlab-runner-18.0.yaml
Replacement:
Replacement: Click to expand fix analysisAnalysisThe pattern in the similar fixed build failures reveals a consistent issue where the expected commit hash for a specific tag doesn't match the actual commit hash found in the repository. In all three examples, the fix involved updating the expected-commit parameter in the YAML file to match the actual commit hash that exists in the repository for that specific tag. Looking at the current failure, we see a similar pattern where the build expects commit 4e717029caf97ec9d98fb87cfa7cee462ac0f81c for tag v0.0.15 of the base-images repository, but it found commit 2387d5988168d327b3ae2fc176d01648e815437e instead. Interestingly, the vars section at the top of the file already has the correct commit hash (2387d5988168d327b3ae2fc176d01648e815437e) for the base-images-tag (0.0.15), but this commit hash isn't being used in the git-checkout step for the base-images repository. Instead, an incorrect commit hash is hardcoded. Click to expand fix explanationExplanationThe build failure is occurring because the YAML file has a mismatch between the expected commit hash and the actual commit hash for the tag v0.0.15 of the base-images repository. The fix is straightforward:
My fix changes both git-checkout steps to use the variable references ( This approach aligns with the patterns seen in the successful fixes in the examples, where the expected-commit value was updated to match the actual commit hash for the tag. In our case, we're making a more robust fix by using the variables that are already defined in the YAML file rather than hardcoding the values directly in the git-checkout steps. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |