Skip to content

Commit

Permalink
Configure Renovate (grafana#210)
Browse files Browse the repository at this point in the history
* Add renovate.json

Signed-off-by: Renovate Bot <[email protected]>

* add regex-matching for automatically bumping versions in README.md

Signed-off-by: ShuzZzle <[email protected]>

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Niclas Schad <[email protected]>
  • Loading branch information
3 people authored Sep 11, 2021
1 parent 673e198 commit 52f3fae
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":gitSignOff"
],
"assignees": [
"ShuzZzle",
"kd7lxl"
],
"regexManagers": [{
"description": "Update cortex image in README.md",
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"\\|\\s+image.&ZeroWidthSpace;tag\\s+\\|\\s+string\\s+\\|\\s+`\"(?<currentValue>.*?)\"`\\s+\\|\\s+\\|\\s+"
],
"depNameTemplate": "quay.io/cortexproject/cortex",
"datasourceTemplate": "docker"
},
{
"description": "Update nginx image in README.md",
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"\\|\\s+nginx.&ZeroWidthSpace;image.&ZeroWidthSpace;tag\\s+\\|\\s+float\\s+\\|\\s+\\`(?<currentValue>.*?)\\`\\s+\\|\\s+\\|\\s+"
],
"depNameTemplate": "nginx",
"datasourceTemplate": "docker"
},
{
"description": "Update kiwigrid/k8s-sidecar image in README.md",
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"\\|\\s+ruler.&ZeroWidthSpace;sidecar.&ZeroWidthSpace;image.&ZeroWidthSpace;tag\\s+\\|\\s+string\\s+\\|\\s+`\"(?<currentValue>.*?)\"`\\s+\\|\\s+\\|\\s+",
"\\|\\s+alertmanager.&ZeroWidthSpace;sidecar.&ZeroWidthSpace;image.&ZeroWidthSpace;tag\\s+\\|\\s+string\\s+\\|\\s+`\"(?<currentValue>.*?)\"`\\s+\\|\\s+\\|\\s+"
],
"depNameTemplate": "quay.io/kiwigrid/k8s-sidecar",
"datasourceTemplate": "docker"
},
{
"description": "Update memcached image in README.md",
"fileMatch": ["^README\\.md$"],
"matchStrings": [
"\\|[^|]*\\|[^|]*\\(memcached\\)[^|]*\\|\\s+(?<currentValue>.*?)\\s+\\|\\s+"
],
"depNameTemplate": "memcached",
"registryUrlTemplate": "https://charts.bitnami.com/bitnami",
"datasourceTemplate": "helm"
}
]
}

0 comments on commit 52f3fae

Please sign in to comment.