forgejo-helm/renovate.json

138 lines
4.2 KiB
JSON
Raw Normal View History

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
2024-09-25 08:11:49 +00:00
"extends": [
"forgejo-contrib/forgejo-renovate//base.json",
"forgejo-helm/forgejo-helm//.forgejo/renovate/k3s.json"
],
"assignees": ["viceice"],
"baseBranches": ["main", "/^maint\\/.+/"],
"packageRules": [
{
2024-08-22 08:31:16 +00:00
"description": "Separate multiple major sub chart updates",
"matchFileNames": ["Chart.yaml"],
"separateMultipleMajor": true
},
{
"description": "Require approval for major sub chart updates for maintenance branches",
"matchBaseBranches": ["/^maint\\/.+/"],
"matchUpdateTypes": ["major"],
"matchFileNames": ["Chart.yaml"],
2024-08-22 08:31:16 +00:00
"dependencyDashboardApproval": true
},
2023-01-04 14:22:17 +00:00
{
"matchManagers": ["helmv3"],
"matchUpdateTypes": ["minor", "patch"],
"semanticCommitType": "fix"
},
{
"matchManagers": ["helmv3"],
"matchUpdateTypes": ["major"],
"semanticCommitType": "feat"
},
{
"matchManagers": ["custom.regex"],
2023-01-19 11:44:04 +00:00
"matchDepNames": ["forgejo"],
"matchUpdateTypes": ["patch"],
2023-01-04 14:22:17 +00:00
"semanticCommitType": "fix"
},
{
"matchManagers": ["custom.regex"],
2023-01-19 11:44:04 +00:00
"matchDepNames": ["forgejo"],
"matchUpdateTypes": ["major", "minor"],
2023-01-04 14:22:17 +00:00
"semanticCommitType": "feat"
},
2023-01-19 11:48:01 +00:00
{
"description": "Automerge and group helm subchart updates weekly (minor & patch)",
2023-01-19 11:48:01 +00:00
"matchManagers": ["helmv3"],
"matchFileNames": ["Chart.yaml"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"groupName": "subcharts",
"extends": ["schedule:weekly"]
2023-07-03 13:00:36 +00:00
},
{
"description": "Automerge dev deps updates",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
2023-07-03 13:00:36 +00:00
"automerge": true
},
2024-02-07 11:46:49 +00:00
{
"description": "Automerge node updates",
"matchManagers": ["nodenv"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge some updates",
"matchDepNames": ["pnpm", "helm-unittest"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge digest updates",
"matchUpdateTypes": ["digest"],
"automerge": true
},
{
"description": "Use test scope for forgejo ci tests",
2024-08-22 08:31:16 +00:00
"matchFileNames": ["ci/*.yaml"],
"additionalBranchPrefix": "ci-forgejo-",
"semanticCommitType": "ci",
2024-07-25 12:29:52 +00:00
"semanticCommitScope": "forgejo",
"groupName": "experimental docker digests",
"extends": ["schedule:daily"]
},
{
"description": "Disable updates for forgejo ci tests",
2024-08-22 08:31:16 +00:00
"matchFileNames": ["ci/*.yaml"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
},
{
"description": "Don't pin digests for forgejo ci tests, not supported",
"matchFileNames": ["ci/*.yaml"],
"pinDigests": false
},
{
"description": "branch automerge not possible",
"automergeType": "pr",
"matchPackageNames": ["/.+/"]
2023-01-04 14:22:17 +00:00
}
],
"customManagers": [
2023-01-04 14:22:17 +00:00
{
"description": "Update forgeo version in chart",
"customType": "regex",
2023-01-04 14:22:17 +00:00
"fileMatch": ["^Chart\\.yaml$"],
"matchStrings": ["appVersion: (?<currentValue>.+?)\\s"],
"depNameTemplate": "forgejo",
"packageNameTemplate": "code.forgejo.org/forgejo/forgejo",
2023-01-04 14:22:17 +00:00
"datasourceTemplate": "docker"
2023-04-17 09:40:06 +00:00
},
{
"description": "Detect helm-unittest yaml schema file",
"customType": "regex",
"fileMatch": [".vscode/settings\\.json$"],
"matchStrings": [
2024-03-20 14:55:09 +00:00
"https://raw\\.githubusercontent\\.com/helm-unittest/helm-unittest/(?<currentValue>v[0-9.]+?)/schema/helm-testsuite\\.json"
],
2024-03-20 14:55:09 +00:00
"depNameTemplate": "helm-unittest",
"packageNameTemplate": "helm-unittest/helm-unittest",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Update k3s kubernetes references",
2024-03-20 14:55:09 +00:00
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
"matchStrings": [" +- (?<currentValue>.+?) # renovate: k3s\\n"],
"depNameTemplate": "k3s",
"packageNameTemplate": "k3s-io/k3s",
"datasourceTemplate": "github-releases"
}
2024-07-25 12:29:52 +00:00
],
"helm-values": {
2024-08-22 10:35:12 +00:00
"fileMatch": ["^ci/.+\\.yaml$"]
2024-07-25 12:29:52 +00:00
}
}