Gitlab CI manager and ~latest version #43356
-
How are you running Renovate?Self-hosted Renovate CLI Which platform you running Renovate on?GitLab (.com or self-hosted) Which version of Renovate are you using?41.173.1 Please tell us more about your question or problemA lot of our .gitlab-ci.yml file have components included with the ~latest tag: From my understanding of the Renovate docs, this is considered partial semantic versioning and it should resolve to a full semantic version. However, our Renovate runs are skipping these components entirely. I checked the Gitlab CI manager source code and it seems intentional to skip over Am I misconfiguring something somewhere? Is there a way to get Renovate to pin the version of the component? Thank you. Logs (if relevant)Logs |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
What would you expect Renovate to do with a |
Beta Was this translation helpful? Give feedback.
-
|
The So The problem is in the GitLab CI manager. It assigns if (dep.currentValue === componentReferenceLatestVersion) {
dep.skipReason = 'unsupported-version';
}That skip was added in #26660 when component support first landed and no versioning understood Fix: remove that skip block from Gitlab CI manager |
Beta Was this translation helpful? Give feedback.
The
semver-partialversioning (added in #38593) fully understands~latest:So
@~latest → @1.3.0can be produced withrangeStrategy: pin.The problem is in the GitLab CI manager. It assigns
skipReason: unsupported-versionon~latestdeps before lookup ever runs:That skip was added in #26660 when component support first landed and no versioning understood
~latest. Thesemver-partialscheme that handles it only arrived in Oct 2025, and the skip was never revisited.Fix: remove that skip block from Gitlab CI manager