Switch to Renovate for Git commits
Skip-Release-Notes
Change-Id: Ic7c390f944391eba2377966c6ada360d4cd68bd4
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000..2849369
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,59 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["config:base"],
+ "baseBranches": ["main", "/^stable\\/.*/"],
+ "commitBody": "Skip-Release-Notes",
+ "prHourlyLimit": 10,
+ "packageRules": [
+ {
+ "enabled": false,
+ "matchPackagePatterns": ["*"]
+ },
+ {
+ "enabled": true,
+ "matchDatasources": ["pypi"],
+ "matchPackageNames": ["magnum-cluster-api"]
+ },
+ {
+ "enabled": true,
+ "matchDatasources": ["git-refs"]
+ },
+ {
+ "groupName": "tempest",
+ "matchDatasources": ["git-refs"],
+ "matchFileNames": ["images/tempest/Dockerfile"]
+ },
+ {
+ "groupName": "openstack",
+ "matchDatasources": ["git-refs"],
+ "matchPackageNames": ["https://opendev.org/openstack/**"]
+ }
+ ],
+ "customManagers": [
+ {
+ "customType": "regex",
+ "fileMatch": ["Dockerfile"],
+ "matchStrings": [
+ "# renovate: name=(?<depName>.+?) repo=(?<packageName>.+?) branch=(?<currentValue>.+?)\nARG .+?_GIT_REF=(?<currentDigest>.+?)\n"
+ ],
+ "datasourceTemplate": "git-refs"
+ },
+ {
+ "customType": "regex",
+ "fileMatch": ["images/magnum/Dockerfile"],
+ "matchStrings": ["magnum-cluster-api==(?<currentValue>.*?)\\s"],
+ "datasourceTemplate": "pypi",
+ "depNameTemplate": "magnum-cluster-api",
+ "versioningTemplate": "semver"
+ },
+ {
+ "customType": "regex",
+ "fileMatch": ["images/neutron/Dockerfile"],
+ "matchStrings": ["POLICY_SERVER_GIT_REF=(?<currentDigest>.*?)\\n"],
+ "datasourceTemplate": "git-refs",
+ "depNameTemplate": "neutron-policy-server",
+ "packageNameTemplate": "https://review.vexxhost.dev/neutron-policy-server",
+ "currentValueTemplate": "main"
+ }
+ ]
+}