addon-base-python/.github/renovate.json
renovate[bot] 204fa67274
Migrate renovate config (#294)
* ⬆️: migrate config .github/renovate.json

* Prettified Code!

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2025-02-11 21:51:22 +01:00

84 lines
2.3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"customManagers": [
{
"customType": "regex",
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStringsStrategy": "any",
"matchStrings": [
"\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
],
"versioningTemplate": "loose",
"datasourceTemplate": "repology",
"depNameTemplate": "alpine_3_21/{{package}}"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG PYTHON_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "python/cpython"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG PYTHON_SETUPTOOLS_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "pypi",
"depNameTemplate": "setuptools"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG PYTHON_PIP_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "pypi",
"depNameTemplate": "pip"
}
],
"packageRules": [
{
"matchDatasources": ["repology"],
"automerge": true
},
{
"groupName": "Add-on base image",
"matchDatasources": ["docker"]
},
{
"groupName": "Add-on base image",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchDatasources": ["github-tags"],
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"matchDatasources": ["pypi"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}