2024-05-03 12:03:02 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2024-06-03 08:01:32 +02:00
|
|
|
"extends": ["config:recommended", ":dependencyDashboard", ":semanticCommits", ":automergeMinor"],
|
2024-06-07 19:47:57 +02:00
|
|
|
"automergeType": "branch",
|
2024-05-03 12:03:02 +02:00
|
|
|
"lockFileMaintenance": {
|
|
|
|
"enabled": true,
|
|
|
|
"automerge": true
|
|
|
|
},
|
|
|
|
"hostRules": [
|
|
|
|
{
|
|
|
|
"matchHost": "docker.nyyu.dev",
|
|
|
|
"username": "{{ secrets.REGISTRY_USERNAME }}",
|
|
|
|
"password": "{{ secrets.REGISTRY_PASSWORD }}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"packageRules": [
|
|
|
|
{
|
|
|
|
"matchPackageNames": ["cargo"],
|
|
|
|
"rangeStrategy": "update-lockfile"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo", "npm"],
|
|
|
|
"matchUpdateTypes": ["patch"],
|
|
|
|
"enabled": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["cargo", "npm"],
|
|
|
|
"matchUpdateTypes": ["minor"],
|
|
|
|
"matchCurrentVersion": "!/^0/",
|
|
|
|
"enabled": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"customManagers": [
|
|
|
|
{
|
|
|
|
"customType": "regex",
|
|
|
|
"fileMatch": ["^Dockerfile$"],
|
|
|
|
"matchStrings": [
|
|
|
|
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( extractVersion=(?<extractVersion>.+?))?( versioning=(?<versioning>.*?))?\\n(?:ENV|ARG)?\\s.*?_(?:VERSION|VER)=(?<currentValue>[^\\s]+).*\\n"
|
|
|
|
],
|
|
|
|
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
|
|
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
2024-05-04 09:24:40 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"customType": "regex",
|
|
|
|
"datasourceTemplate": "docker",
|
|
|
|
"fileMatch": ["\\.yaml$"],
|
|
|
|
"matchStrings": [
|
|
|
|
"image:\\s+repository:\\s+(?<depName>.*?)\\s+tag:\\s+(?:'|\")?(?<currentValue>[\\w\\.-]*)(?:'|\")?"
|
|
|
|
],
|
|
|
|
"versioning": "docker"
|
2024-05-03 12:03:02 +02:00
|
|
|
}
|
2024-05-04 09:24:40 +02:00
|
|
|
],
|
|
|
|
"argocd": {
|
|
|
|
"fileMatch": ["apps/.+\\.yaml$"]
|
|
|
|
},
|
|
|
|
"kubernetes": {
|
|
|
|
"fileMatch": ["\\.yaml$"]
|
|
|
|
}
|
2024-05-03 12:03:02 +02:00
|
|
|
}
|