-
Notifications
You must be signed in to change notification settings - Fork 416
gitlab-cng-18.0/18.0.1 package update #53877
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
octo-sts
bot
commented
May 21, 2025
Signed-off-by: wolfi-bot <[email protected]>
⛓️ Build Failed: Constraint Not Satisfied
Build Details
Root Cause Analysis 🔍The build is checking for consistency between expected and actual tag values. It expected the shell-tag to be 14.41.0 but found 14.42.0 instead. This is likely a version mismatch check that ensures the build configuration matches expected upstream version tags. The build fails because the detected version (14.42.0) is newer than the expected version (14.41.0) in the configuration. 🔍 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-cng-18.0.yaml
Replacement: Click to expand fix analysisAnalysisAfter analyzing the similar fixed build failures, I've identified a common pattern: version mismatches between the declared values in the package YAML file and the actual upstream values. In all three examples, the fix involved updating the expected version/tag/commit in the YAML file to match the actual upstream version. The current build failure shows a shell-tag mismatch where the build expected 14.41.0 but found 14.42.0. This indicates that GitLab has released a newer version of gitlab-shell (14.42.0) that doesn't match the version declared in our YAML file (14.41.0). Click to expand fix explanationExplanationThe build failure indicates that the shell-tag value in the vars section of the YAML file (14.41.0) doesn't match the actual version specified in the upstream CNG's variables.yml file (14.42.0). The error occurs in the "Verify all the vars tags are up to date with the upstream" check, which compares the values in the YAML file with those extracted from the CNG repository's variables.yml. The fix is to update the shell-tag value in the vars section from 14.41.0 to 14.42.0, which aligns with what's in the upstream repository. I've also updated the shell-commit value to match the HEAD commit of the v14.42.0 tag in the gitlab-shell repository (found by checking the tag at https://gitlab.com/gitlab-org/gitlab-shell/-/tags/v14.42.0). This follows the same pattern as the fixes in the examples provided, where the solution was to update the version/tag in the YAML file to match what's expected by the upstream. Specifically, in fix example #0, the exporter-tag was updated from 15.0.0 to 15.2.0 to resolve a similar version mismatch error. This approach adheres to Wolfi's guiding principle of keeping packages up to date with upstream releases. The fix allows the build to proceed with the latest version of the gitlab-shell component. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Amber Arcadia <[email protected]>
Signed-off-by: Amber Arcadia <[email protected]>