Skip to content

Commit

Permalink
Update renovate.json - add rules for bumping versions of chart and bi…
Browse files Browse the repository at this point in the history
…twarden cli
  • Loading branch information
jessebot authored May 31, 2024
1 parent 96190c6 commit eee760b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,36 @@
],
"datasourceTemplate": "docker"
},
{
"fileMatch": ["docker/Dockerfile"],
"matchStrings": [
"#\\s?renovate: depName=(?<depName>.*?)\\s?BW_CLI_VERSION=\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)",
],
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"description": "Bump helm chart versions by a patch when updating values files. Digests, pins, rollbacks, replacements and pinDigest updates are deliberately ignored since in our use case, these need a manual decision about the version bump for the chart. This can be removed when https://github.com/renovatebot/renovate/issues/8231 is implemented and enabled.",
"matchManagers": ["helm-values", "regex"],
"postUpgradeTasks": {
"commands": [
"scripts/bump-chart-version.sh '{{{parentDir}}}' '{{{updateType}}}'"
],
"fileFilters": ["**/Chart.yaml"],
"executionMode": "branch"
}
},
{
"description": "Bump bitwarden release version.",
"matchManagers": ["regex"],
"postUpgradeTasks": {
"commands": [
"scripts/bump-github-release.sh '{{{updateType}}}'"
],
"fileFilters": ["docker/Dockerfile"],
"executionMode": "branch"
}
}
]
}

0 comments on commit eee760b

Please sign in to comment.