Skip to content
Snippets Groups Projects
Verified Commit 1fd0d0bc authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

Merge remote-tracking branch 'origin/renovate/migrate-config'

parents 27865c52 3c69dca7
Branches
Tags
1 merge request!1154chore(config): migrate renovate config
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
"semanticCommits": "enabled", "semanticCommits": "enabled",
"osvVulnerabilityAlerts": true, "osvVulnerabilityAlerts": true,
"flux": { "flux": {
"fileMatch": ["\\.yaml$"] "fileMatch": [
"\\.yaml$"
]
}, },
"kubernetes": { "kubernetes": {
"fileMatch": [ "fileMatch": [
...@@ -30,11 +32,17 @@ ...@@ -30,11 +32,17 @@
] ]
}, },
"gitlabci": { "gitlabci": {
"fileMatch": ["\\.gitlab-ci\\.yml$", "gitlab-ci\\.yaml$"] "fileMatch": [
"\\.gitlab-ci\\.yml$",
"gitlab-ci\\.yaml$"
]
}, },
"regexManagers": [ "customManagers": [
{ {
"fileMatch": ["Earthfile$"], "customType": "regex",
"fileMatch": [
"Earthfile$"
],
"matchStrings": [ "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]+)?"
], ],
...@@ -42,7 +50,10 @@ ...@@ -42,7 +50,10 @@
"versioningTemplate": "docker" "versioningTemplate": "docker"
}, },
{ {
"fileMatch": ["images/mirror/Earthfile$"], "customType": "regex",
"fileMatch": [
"images/mirror/Earthfile$"
],
"matchStrings": [ "matchStrings": [
"DO \\+MIRROR --image=\"?'?(?<depName>[^:\\s]+?):(?<currentValue>[a-z0-9-.]+?)?@?(?<currentDigest>sha256:[a-f0-9]+)?\"?'?\\s" "DO \\+MIRROR --image=\"?'?(?<depName>[^:\\s]+?):(?<currentValue>[a-z0-9-.]+?)?@?(?<currentDigest>sha256:[a-f0-9]+)?\"?'?\\s"
], ],
...@@ -50,7 +61,10 @@ ...@@ -50,7 +61,10 @@
"versioningTemplate": "docker" "versioningTemplate": "docker"
}, },
{ {
"fileMatch": ["\\.yaml$"], "customType": "regex",
"fileMatch": [
"\\.yaml$"
],
"matchStrings": [ "matchStrings": [
"# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s" "# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s"
], ],
...@@ -58,13 +72,19 @@ ...@@ -58,13 +72,19 @@
"versioningTemplate": "docker" "versioningTemplate": "docker"
}, },
{ {
"fileMatch": ["\\.yaml$"], "customType": "regex",
"fileMatch": [
"\\.yaml$"
],
"matchStrings": [ "matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+\\S+?: \"?(?<currentValue>.+?)\"?\\s" "# 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": [ "matchStrings": [
"# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s" "# renovate:\\n\\s+image: \"?'?(?<depName>[^:\\s]+?):(?<currentValue>[^\"]*?)\"?'?\\s"
], ],
...@@ -72,7 +92,10 @@ ...@@ -72,7 +92,10 @@
"versioningTemplate": "docker" "versioningTemplate": "docker"
}, },
{ {
"fileMatch": ["Chart\\.yaml$"], "customType": "regex",
"fileMatch": [
"Chart\\.yaml$"
],
"matchStrings": [ "matchStrings": [
"# renovate:\\s+image=(?<depName>[^:\\s]+?)\\nappVersion:\\s+\"?'?(?<currentValue>[^\"]*)\"?'?" "# renovate:\\s+image=(?<depName>[^:\\s]+?)\\nappVersion:\\s+\"?'?(?<currentValue>[^\"]*)\"?'?"
], ],
...@@ -80,7 +103,11 @@ ...@@ -80,7 +103,11 @@
"versioningTemplate": "docker" "versioningTemplate": "docker"
}, },
{ {
"fileMatch": ["Dockerfile$","Earthfile$"], "customType": "regex",
"fileMatch": [
"Dockerfile$",
"Earthfile$"
],
"matchStrings": [ "matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+(ENV|ARG) .*?_VERSION=\"?(?<currentValue>.*)\"?\\s" "#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+(ENV|ARG) .*?_VERSION=\"?(?<currentValue>.*)\"?\\s"
], ],
...@@ -89,7 +116,9 @@ ...@@ -89,7 +116,9 @@
], ],
"packageRules": [ "packageRules": [
{ {
"matchDatasources": ["docker"], "matchDatasources": [
"docker"
],
"matchPackageNames": [ "matchPackageNames": [
"quay.io/fedora/fedora", "quay.io/fedora/fedora",
"docker.io/fedora", "docker.io/fedora",
...@@ -99,17 +128,26 @@ ...@@ -99,17 +128,26 @@
"allowedVersions": "<40" "allowedVersions": "<40"
}, },
{ {
"matchDatasources": ["helm"], "matchDatasources": [
"packageNames": [ "helm"
],
"matchPackageNames": [
"rook-ceph", "rook-ceph",
"rook-ceph-cluster" "rook-ceph-cluster"
], ],
"groupName": "rook-ceph" "groupName": "rook-ceph"
}, },
{ {
"matchPaths": ["images/kos/**"], "matchFileNames": [
"extends": ["docker:pinDigests"] "images/kos/**"
],
"extends": [
"docker:pinDigests"
]
} }
], ],
"postUpdateOptions": ["helmUpdateSubChartArchives","gomodTidy"] "postUpdateOptions": [
"helmUpdateSubChartArchives",
"gomodTidy"
]
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment