diff --git a/renovate.json b/renovate.json index b9c07ad94..b5a963f56 100644 --- a/renovate.json +++ b/renovate.json @@ -14,8 +14,87 @@ "separateMajorMinor": true, "separateMinorPatch": true, "separateMultipleMajor": true, + "regexManagers": [ + { + "fileMatch": ["(^|/|\\.)Dockerfile$"], + "matchStrings": ["pecl install -f apcu-(?.*?) "], + "depNameTemplate": "krakjoe/apcu", + "datasourceTemplate": "github-tags" + }, + { + "fileMatch": ["(^|/|\\.)Dockerfile$"], + "matchStrings": ["pecl install -f imagick-(?.*?) "], + "depNameTemplate": "Imagick/imagick", + "datasourceTemplate": "github-tags" + }, + { + "fileMatch": ["(^|/|\\.)Dockerfile$"], + "matchStrings": ["pecl install -f redis-(?.*?) "], + "depNameTemplate": "phpredis/phpredis", + "datasourceTemplate": "github-tags" + }, + { + "fileMatch": ["(^|/|\\.)Dockerfile$"], + "matchStrings": ["pecl install -f xdebug-(?.*?) "], + "depNameTemplate": "xdebug/xdebug", + "datasourceTemplate": "github-tags" + }, + { + "fileMatch": ["(^|/|\\.)Dockerfile$"], + "matchStrings": ["pecl install -f yaml-(?.*?) "], + "depNameTemplate": "php/pecl-file_formats-yaml", + "datasourceTemplate": "github-tags" + } + ], "packageRules": [ + { + "enabled": true, + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchPackageNames": [ + "krakjoe/apcu" + ], + "extractVersion": "^v(?.*)$" + }, + { + "enabled": true, + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "matchPackageNames": [ + "Imagick/imagick", + "phpredis/phpredis", + "xdebug/xdebug", + "php/pecl-file_formats-yaml" + ] + }, + { + "enabled": false, + "groupName": "Disable PECL major updates", + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchUpdateTypes": [ + "major" + ], + "matchPackageNames": [ + "krakjoe/apcu", + "Imagick/imagick", + "phpredis/phpredis", + "xdebug/xdebug", + "php/pecl-file_formats-yaml" + ] + }, { + "enabled": true, "matchDatasources": [ "docker" ], @@ -42,6 +121,7 @@ ] }, { + "enabled": true, "matchDatasources": [ "docker" ],