Skip to content

Commit

Permalink
chore: renovate pi-hole follow-up
Browse files Browse the repository at this point in the history
  • Loading branch information
toanju committed Mar 8, 2024
1 parent d33c7d5 commit 1ffdce3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions charts/pi-hole/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# renovate: datasource=docker depName=ghcr.io/pi-hole/pihole
version: 2024.1.0

# This is the version number of the application being deployed. This version number should be
Expand Down
18 changes: 7 additions & 11 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,26 @@
},
{
"customType": "regex",
"description": "Update pi-hole container image references",
"description": "Update zigbee2mqtt container image references",
"fileMatch": [
"^charts\\/pi-hole\\/Chart\\.yaml$"
"^charts\\/zigbee2mqtt\\/Chart\\.yaml$"
],
"matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+",
"version: (?<currentValue>.*?)\\s+"
],
"depNameTemplate": "ghcr.io/pi-hole/pihole",
"datasourceTemplate": "docker",
"versioningTemplate": "regex:^v?(?<major>\\d+)\\.0*(?<minor>\\d+)\\.(?<patch>\\d+)?$"
"depNameTemplate": "ghcr.io/koenkk/zigbee2mqtt",
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update zigbee2mqtt container image references",
"fileMatch": [
"^charts\\/zigbee2mqtt\\/Chart\\.yaml$"
"(^|/)Chart\\.yaml$"
],
"matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+",
"version: (?<currentValue>.*?)\\s+"
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:appVersion|version): \\\"?(?<currentValue>.+?)\\\"?\\s"
],
"depNameTemplate": "ghcr.io/koenkk/zigbee2mqtt",
"datasourceTemplate": "docker"
"versioningTemplate": "regex:^v?(?<minor>\\d+)\\.0*(?<build>\\d+)\\.(?<patching>\\d+)$"
}
]
}

0 comments on commit 1ffdce3

Please sign in to comment.