Skip to content

Commit

Permalink
Extend renovate config to also update Chart.yaml file
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Beermann <[email protected]>
  • Loading branch information
tibeer committed Oct 21, 2024
1 parent 837b5f9 commit 65e4e03
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ingress:
tls: []
# - secretName: chart-example-tls
# hosts:
# chart-example.local
# - chart-example.local

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down
11 changes: 11 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,16 @@
"dependencyDashboard": true,
"reviewers": [
"tibeer"
],
"customManagers": [
{
"customType": "regex",
"description": "Update chart appVersion according to docker image references",
"datasourceTemplate": "docker",
"fileMatch": ["^vaultwarden\\/Chart\\.yaml$"],
"matchStrings": [
"#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)\""
]
}
]
}
3 changes: 2 additions & 1 deletion vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ version: 1.0.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.31.0"
# renovate: image=vaultwarden/server
appVersion: '1.31.0'

0 comments on commit 65e4e03

Please sign in to comment.