1
Fork 0
ci-images/.renovaterc

57 lines
1.8 KiB
Text

{
"$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"
}
]
}