diff --git a/renovate.json b/renovate.json index 17aa60b86e50fb14f5d66b621307ab037f7bcce0..bb301887c16e116e47bd7d55773c1cfd5d24eac5 100644 --- a/renovate.json +++ b/renovate.json @@ -15,7 +15,9 @@ "semanticCommits": "enabled", "osvVulnerabilityAlerts": true, "flux": { - "fileMatch": ["\\.yaml$"] + "fileMatch": [ + "\\.yaml$" + ] }, "kubernetes": { "fileMatch": [ @@ -30,19 +32,28 @@ ] }, "gitlabci": { - "fileMatch": ["\\.gitlab-ci\\.yml$", "gitlab-ci\\.yaml$"] + "fileMatch": [ + "\\.gitlab-ci\\.yml$", + "gitlab-ci\\.yaml$" + ] }, - "regexManagers": [ + "customManagers": [ { - "fileMatch": ["Earthfile$"], + "customType": "regex", + "fileMatch": [ + "Earthfile$" + ], "matchStrings": [ - "FROM\\s+(?<depName>[a-z0-9.\\/-]+):?(?<currentValue>[a-z0-9-.]+)?@?(?<currentDigest>sha256:[a-f0-9]+)?" + "FROM\\s+(?<depName>[a-z0-9.\\/-]+):?(?<currentValue>[a-z0-9-.]+)?@?(?<currentDigest>sha256:[a-f0-9]+)?" ], "datasourceTemplate": "docker", "versioningTemplate": "docker" }, { - "fileMatch": ["images/mirror/Earthfile$"], + "customType": "regex", + "fileMatch": [ + "images/mirror/Earthfile$" + ], "matchStrings": [ "DO \\+MIRROR --image=\"?'?(?<depName>[^:\\s]+?):(?<currentValue>[a-z0-9-.]+?)?@?(?<currentDigest>sha256:[a-f0-9]+)?\"?'?\\s" ], @@ -50,7 +61,10 @@ "versioningTemplate": "docker" }, { - "fileMatch": ["\\.yaml$"], + "customType": "regex", + "fileMatch": [ + "\\.yaml$" + ], "matchStrings": [ "# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s" ], @@ -58,13 +72,19 @@ "versioningTemplate": "docker" }, { - "fileMatch": ["\\.yaml$"], + "customType": "regex", + "fileMatch": [ + "\\.yaml$" + ], "matchStrings": [ "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+\\S+?: \"?(?<currentValue>.+?)\"?\\s" ] }, { - "fileMatch": ["terraform/hedgedoc-demo/templates/docker-compose.tpl$"], + "customType": "regex", + "fileMatch": [ + "terraform/hedgedoc-demo/templates/docker-compose.tpl$" + ], "matchStrings": [ "# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s" ], @@ -72,7 +92,10 @@ "versioningTemplate": "docker" }, { - "fileMatch": ["Chart\\.yaml$"], + "customType": "regex", + "fileMatch": [ + "Chart\\.yaml$" + ], "matchStrings": [ "# renovate:\\s+image=(?<depName>[^:\\s]+?)\\nappVersion:\\s+\"?'?(?<currentValue>[^\"]*)\"?'?" ], @@ -80,7 +103,11 @@ "versioningTemplate": "docker" }, { - "fileMatch": ["Dockerfile$","Earthfile$"], + "customType": "regex", + "fileMatch": [ + "Dockerfile$", + "Earthfile$" + ], "matchStrings": [ "#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+(ENV|ARG) .*?_VERSION=\"?(?<currentValue>.*)\"?\\s" ], @@ -89,27 +116,38 @@ ], "packageRules": [ { - "matchDatasources": ["docker"], + "matchDatasources": [ + "docker" + ], "matchPackageNames": [ - "quay.io/fedora/fedora", + "quay.io/fedora/fedora", "docker.io/fedora", - "docker.io/library/fedora", + "docker.io/library/fedora", "registry.fedoraproject.org/fedora" ], "allowedVersions": "<40" }, { - "matchDatasources": ["helm"], - "packageNames": [ + "matchDatasources": [ + "helm" + ], + "matchPackageNames": [ "rook-ceph", "rook-ceph-cluster" ], "groupName": "rook-ceph" }, { - "matchPaths": ["images/kos/**"], - "extends": ["docker:pinDigests"] + "matchFileNames": [ + "images/kos/**" + ], + "extends": [ + "docker:pinDigests" + ] } ], - "postUpdateOptions": ["helmUpdateSubChartArchives","gomodTidy"] + "postUpdateOptions": [ + "helmUpdateSubChartArchives", + "gomodTidy" + ] }