Skip to content

Commit

Permalink
Use proper Renovate preset
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Oct 15, 2024
1 parent de696da commit 1d56de7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
33 changes: 10 additions & 23 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disableDependencyDashboard"],
"extends": [
"config:recommended",
":configMigration",
":disableDependencyDashboard",
"customManagers:helmChartYamlAppVersions"
],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"packageRules": [
Expand All @@ -9,36 +14,18 @@
"versioning": "helm"
},
{
"matchManagers": ["helmv3"],
"matchManagers": ["helmv3", "helm-values"],
"matchUpdateTypes": ["minor", "patch"],
"bumpVersion": "patch"
},
{
"matchManagers": ["helmv3"],
"matchManagers": ["helmv3", "helm-values"],
"matchUpdateTypes": ["major"],
"bumpVersion": "minor"
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": ["!major"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["(^|/)Chart.yaml$"],
"matchStrings": [
"\\nname: (?<depName>.*?)\\n",
"\\nappVersion: \"(?<currentValue>.*?)\"\\n"
],
"matchStringsStrategy": "combination",
"depNameTemplate": "ghcr.io/netbox-community/{{{depName}}}",
"datasourceTemplate": "docker",
"versioningTemplate": "semver-coerced"
}
],
"github-actions": {
"enabled": false
}
]
}
1 change: 1 addition & 0 deletions charts/netbox/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apiVersion: v2
name: netbox
version: 5.0.0
# renovate: image=ghcr.io/netbox-community/netbox
appVersion: "v4.1.1"
type: application
kubeVersion: ^1.25.0-0
Expand Down

0 comments on commit 1d56de7

Please sign in to comment.