Custom versioning for cypress/browsers #25661
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.37.50.2@sha256:78dcbe976097ab0425bd7387670d7ef1316be0e748a8aa33bed4964b923d3552 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.I am looking for help to configure renovate to support cypress/browsers. The docker images are named quite interesting and as already answered in #18057 I need a custom What you tried so far.This is the config I provided in the {
"matchDatasources": [
"docker"
],
"matchManagers": [
"dockerfile"
],
"matchPackageNames": [
"cypress/browsers"
],
"versioning": "regex:^node-?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?:-(?:[a-zA-Z]+\\d*|[\\d.]+))*$"
} That regex matches all of these:
The first version above is the one currently used in my project. Full renovate.jsonrenovate.json{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"labels": [
"renovate"
],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"separateMultipleMajor": true,
"rangeStrategy": "pin",
"branchPrefix": "REN-",
"ignoreDeps": [
"tomcat"
],
"enabledManagers": [
"docker-compose",
"dockerfile",
"maven",
"gitlabci",
"npm",
"nvm"
],
"packageRules": [
{
"matchUpdateTypes": [
"pin"
],
"addLabels": [
"pin"
],
"automerge": true,
"platformAutomerge": true
},
{
"matchUpdateTypes": [
"patch"
],
"addLabels": [
"patch"
],
"automerge": true,
"platformAutomerge": true
},
{
"matchUpdateTypes": [
"minor"
],
"addLabels": [
"minor"
]
},
{
"matchUpdateTypes": [
"major"
],
"addLabels": [
"major"
]
},
{
"enabledManagers": [
"npm"
],
"matchDepTypes": [
"devDependencies"
],
"addLabels": [
"devDependency"
]
},
{
"matchUpdateTypes": [
"digest",
"minor",
"patch"
],
"matchManagers": [
"gitlabci"
],
"matchPackagePatterns": [
"renovate\\/renovate*"
],
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
},
{
"matchManagers": [
"gitlabci"
],
"matchPackageNames": [
"node"
],
"versioning": "node"
},
{
"extends": "monorepo:electron-forge",
"groupName": "electron-forge monorepo",
"matchUpdateTypes": [
"digest",
"patch",
"minor",
"major"
]
},
{
"matchDatasources": [
"docker"
],
"matchManagers": [
"dockerfile"
],
"matchPackageNames": [
"cypress/browsers"
],
"versioning": "regex:^node-?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)"
}
]
} Relevant debug logsLogs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Please describe in simple terms what logic should be used to determine if an update is valid or not |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the discussion if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
You can manually configure the versioning for a dependency and you need to do so for the gitlab-ci. You cannot configure the version of Renovate