blob: 298f9b0f11f1e4559a16eb0a05e02f2f64f6b3e9 [file] [log] [blame]
Mohammed Naser7d15bf72025-03-13 22:14:03 -04001{
2 "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3 "extends": ["config:base"],
Mohammed Naser1711c492025-03-13 23:25:45 -04004 "baseBranches": ["main", "/^stable\\/.*/"],
Mohammed Nasere80d4532025-03-13 23:32:26 -04005 "commitBody": "Skip-Release-Notes",
Mohammed Nasercc1567c2025-03-13 23:46:06 -04006 "prHourlyLimit": 10,
Mohammed Naser7d15bf72025-03-13 22:14:03 -04007 "packageRules": [
8 {
Mohammed Naser58b178c2025-03-14 22:25:12 -04009 "enabled": false,
10 "matchPackagePatterns": ["*"]
Mohammed Naser7d15bf72025-03-13 22:14:03 -040011 },
12 {
Mohammed Naser58b178c2025-03-14 22:25:12 -040013 "enabled": true,
Mohammed Naser7d15bf72025-03-13 22:14:03 -040014 "matchDatasources": ["pypi"],
Mohammed Naser58b178c2025-03-14 22:25:12 -040015 "matchPackageNames": ["magnum-cluster-api"]
16 },
17 {
18 "enabled": true,
19 "matchDatasources": ["git-refs"]
Mohammed Naser1bf51ff2025-03-18 13:24:35 -040020 },
21 {
22 "groupName": "tempest",
23 "matchDatasources": ["git-refs"],
24 "matchFileNames": ["images/tempest/Dockerfile"]
Mohammed Naser433a2022025-03-19 22:33:40 -040025 },
26 {
27 "groupName": "openstack",
28 "matchDatasources": ["git-refs"],
29 "matchFileNames": ["images/manila/Dockerfile"]
Mohammed Naser7d15bf72025-03-13 22:14:03 -040030 }
31 ],
Mohammed Naser58b178c2025-03-14 22:25:12 -040032 "customManagers": [
Mohammed Naser7d15bf72025-03-13 22:14:03 -040033 {
Mohammed Naser58b178c2025-03-14 22:25:12 -040034 "customType": "regex",
Mohammed Naser433a2022025-03-19 22:33:40 -040035 "fileMatch": ["images/manila/Dockerfile"],
36 "matchStrings": [
37 "ARG (?<depName>[A-Z_]+)_GIT_REF=(?<currentDigest>.*?)\\s+ADD --keep-git-dir=true https://opendev\\.org/openstack/(?<packageName>[a-z-]+)\\.git"
38 ],
39 "datasourceTemplate": "git-refs",
40 "depNameTemplate": "openstack/{{packageName}}",
41 "packageNameTemplate": "https://opendev.org/openstack/{{packageName}}",
42 "currentValueTemplate": "{{#if (equals baseBranch 'main')}}master{{else}}{{baseBranch}}{{/if}}"
43 },
44 {
45 "customType": "regex",
46 "fileMatch": ["images/tempest/Dockerfile"],
47 "matchStrings": [
48 "ADD --keep-git-dir=true https://opendev.org/openstack/(?<depName>[^.]+)(\\.git)?#(?<currentDigest>[0-9a-f]{40}) /src(?<path>.*)"
49 ],
50 "datasourceTemplate": "git-refs",
51 "packageNameTemplate": "https://opendev.org/openstack/{{depName}}",
52 "currentValueTemplate": "master"
53 },
54 {
55 "customType": "regex",
Mohammed Naser7d15bf72025-03-13 22:14:03 -040056 "fileMatch": ["images/magnum/Dockerfile"],
57 "matchStrings": ["magnum-cluster-api==(?<currentValue>.*?)\\s"],
58 "datasourceTemplate": "pypi",
59 "depNameTemplate": "magnum-cluster-api",
60 "versioningTemplate": "semver"
Mohammed Naser58b178c2025-03-14 22:25:12 -040061 },
62 {
63 "customType": "regex",
64 "fileMatch": ["images/neutron/Dockerfile"],
65 "matchStrings": ["POLICY_SERVER_GIT_REF=(?<currentDigest>.*?)\\n"],
66 "datasourceTemplate": "git-refs",
67 "depNameTemplate": "neutron-policy-server",
68 "packageNameTemplate": "https://review.vexxhost.dev/neutron-policy-server",
69 "currentValueTemplate": "main"
Mohammed Naser7d15bf72025-03-13 22:14:03 -040070 }
71 ]
72}