Skip to content

Commit

Permalink
Merge pull request #414 from rackerlabs/renovate-update
Browse files Browse the repository at this point in the history
chore: renovate rule to watch OpenStack Helm
  • Loading branch information
cardoe authored Oct 28, 2024
2 parents f044fb1 + 9462a65 commit 0e933d1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,24 @@
":prNotPending",
":rebaseStalePrs",
":automergeDigest"
],
"customDatasources": {
"openstackhelm": {
"defaultRegistryUrlTemplate": "https://tarballs.opendev.org/openstack/openstack-helm/",
"format": "html",
"transformTemplates": [
"{\"releases\": $map($filter($.releases, function($v) {$match($v.version, /^{{packageName}}-/)}), function($v) { {\"version\": $match($v.version, /^{{packageName}}-([0-9.]+).tar.gz$/).groups[0]} } ) }"
]
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["\\.yaml$"],
"datasourceTemplate": "custom.openstackhelm",
"matchStrings": [
"#\\s*renovate:\\s*(datasource=(?<datasource>.*?)\\s*)?depName=(?<depName>.*?)\\s*chartVersion:\\s*(?<currentValue>.+?)\\s"
]
}
]
}
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ repos:
name: "poetry-lock (understack-workflows)"
files: '^python/understack-workflows/'
args: ["-C", "python/understack-workflows", "--no-update"]
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.114.0
hooks:
- id: renovate-config-validator
7 changes: 7 additions & 0 deletions apps/appsets/openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,25 @@ spec:
- list:
elements:
- component: keystone
# renovate: datasource=custom.openstackhelm depName=keystone
chartVersion: 0.3.15
- component: ironic
# renovate: datasource=custom.openstackhelm depName=ironic
chartVersion: 0.2.18
- component: placement
# renovate: datasource=custom.openstackhelm depName=placement
chartVersion: 0.3.16
- component: neutron
# renovate: datasource=custom.openstackhelm depName=neutron
chartVersion: 0.3.47
- component: glance
# renovate: datasource=custom.openstackhelm depName=glance
chartVersion: 0.5.0
- component: nova
# renovate: datasource=custom.openstackhelm depName=nova
chartVersion: 0.3.44
- component: horizon
# renovate: datasource=custom.openstackhelm depName=horizon
chartVersion: 0.3.28
template:
metadata:
Expand Down

0 comments on commit 0e933d1

Please sign in to comment.