The `node` versioning scheme does only use LTS by default, which we want. So we need to apply that for the Docker tags of node.js images. NPM packages should use the appropriate versioning scheme as well.
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":combinePatchMinorReleases",
|
|
":enableVulnerabilityAlerts",
|
|
":rebaseStalePrs"
|
|
],
|
|
"prConcurrentLimit": 10,
|
|
"branchPrefix": "renovate/",
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update _VERSION variables in Dockerfiles",
|
|
"fileMatch": [
|
|
"(^|/|\\.)Dockerfile$",
|
|
"(^|/)Dockerfile\\.[^/]*$"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
|
|
]
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchDatasources": [
|
|
"github-release"
|
|
],
|
|
"matchPackageNames": [
|
|
"llvm/llvm-project"
|
|
],
|
|
"extractVersion": "^llvmorg-(?<version>\\d+)\\.\\d+\\.\\d+$"
|
|
},
|
|
{
|
|
"matchPackageNames": [
|
|
"node"
|
|
],
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"versioning": "node"
|
|
}
|
|
]
|
|
}
|