Mohammed Naser | 2281909 | 2025-03-19 23:37:52 -0400 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | "extends": ["config:base"], |
| 4 | "baseBranches": ["main", "/^stable\\/.*/"], |
| 5 | "commitBody": "Skip-Release-Notes", |
| 6 | "prHourlyLimit": 10, |
| 7 | "packageRules": [ |
| 8 | { |
| 9 | "enabled": false, |
| 10 | "matchPackagePatterns": ["*"] |
| 11 | }, |
| 12 | { |
| 13 | "enabled": true, |
| 14 | "matchDatasources": ["pypi"], |
| 15 | "matchPackageNames": ["magnum-cluster-api"] |
| 16 | }, |
| 17 | { |
| 18 | "enabled": true, |
| 19 | "matchDatasources": ["git-refs"] |
| 20 | }, |
| 21 | { |
| 22 | "groupName": "tempest", |
| 23 | "matchDatasources": ["git-refs"], |
| 24 | "matchFileNames": ["images/tempest/Dockerfile"] |
| 25 | }, |
| 26 | { |
| 27 | "groupName": "openstack", |
| 28 | "matchDatasources": ["git-refs"], |
| 29 | "matchPackageNames": ["https://opendev.org/openstack/**"] |
| 30 | } |
| 31 | ], |
| 32 | "customManagers": [ |
| 33 | { |
| 34 | "customType": "regex", |
| 35 | "fileMatch": ["Dockerfile"], |
| 36 | "matchStrings": [ |
| 37 | "# renovate: name=(?<depName>.+?) repo=(?<packageName>.+?) branch=(?<currentValue>.+?)\nARG .+?_GIT_REF=(?<currentDigest>.+?)\n" |
| 38 | ], |
| 39 | "datasourceTemplate": "git-refs" |
| 40 | }, |
| 41 | { |
| 42 | "customType": "regex", |
| 43 | "fileMatch": ["images/magnum/Dockerfile"], |
| 44 | "matchStrings": ["magnum-cluster-api==(?<currentValue>.*?)\\s"], |
| 45 | "datasourceTemplate": "pypi", |
| 46 | "depNameTemplate": "magnum-cluster-api", |
| 47 | "versioningTemplate": "semver" |
| 48 | }, |
| 49 | { |
| 50 | "customType": "regex", |
| 51 | "fileMatch": ["images/neutron/Dockerfile"], |
| 52 | "matchStrings": ["POLICY_SERVER_GIT_REF=(?<currentDigest>.*?)\\n"], |
| 53 | "datasourceTemplate": "git-refs", |
| 54 | "depNameTemplate": "neutron-policy-server", |
| 55 | "packageNameTemplate": "https://review.vexxhost.dev/neutron-policy-server", |
| 56 | "currentValueTemplate": "main" |
| 57 | } |
| 58 | ] |
| 59 | } |