Format Renovate config
This commit is contained in:
parent
7461606276
commit
d9222a46d3
1 changed files with 55 additions and 55 deletions
110
.renovaterc
110
.renovaterc
|
@ -1,57 +1,57 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
":combinePatchMinorReleases",
|
||||
":enableVulnerabilityAlerts"
|
||||
],
|
||||
"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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Update git-ref pip packages",
|
||||
"fileMatch": [
|
||||
"(^|/)requirements.txt$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"(# renovate:( branch=(?<currentValue>\\S+))?\\n)?git\\+(?<packageName>https://.*?)(\\.git)?@(?<currentDigest>.*?)\\n"
|
||||
],
|
||||
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}master{{/if}}",
|
||||
"datasourceTemplate": "git-refs",
|
||||
"versioningTemplate": "none"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": [
|
||||
"github-release"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
"llvm/llvm-project"
|
||||
],
|
||||
"extractVersion": "^llvmorg-(?<version>\\d+)\\.\\d+\\.\\d+$"
|
||||
},
|
||||
{
|
||||
"matchPackageNames": [
|
||||
"nodejs/node",
|
||||
"nodejs"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"versioning": "node"
|
||||
}
|
||||
]
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
":combinePatchMinorReleases",
|
||||
":enableVulnerabilityAlerts"
|
||||
],
|
||||
"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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Update git-ref pip packages",
|
||||
"fileMatch": [
|
||||
"(^|/)requirements.txt$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"(# renovate:( branch=(?<currentValue>\\S+))?\\n)?git\\+(?<packageName>https://.*?)(\\.git)?@(?<currentDigest>.*?)\\n"
|
||||
],
|
||||
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}master{{/if}}",
|
||||
"datasourceTemplate": "git-refs",
|
||||
"versioningTemplate": "none"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": [
|
||||
"github-release"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
"llvm/llvm-project"
|
||||
],
|
||||
"extractVersion": "^llvmorg-(?<version>\\d+)\\.\\d+\\.\\d+$"
|
||||
},
|
||||
{
|
||||
"matchPackageNames": [
|
||||
"nodejs/node",
|
||||
"nodejs"
|
||||
],
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"versioning": "node"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue