Skip to content

Commit

Permalink
Add "components" renovate group
Browse files Browse the repository at this point in the history
  • Loading branch information
nervo committed Dec 2, 2024
1 parent 2a0ae3a commit 4cb511c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@
"enabledManagers": [
"regex"
],
"packageRules": [
{
"matchDepTypes": ["components"],
"groupName": "components"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG GOSU_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "gosu",
"depTypeTemplate": "components",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "tianon/gosu"
},
Expand All @@ -20,6 +27,7 @@
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG GOMPLATE_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "gomplate",
"depTypeTemplate": "components",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "hairyhenderson/gomplate",
"extractVersionTemplate": "^v(?<version>.+)$"
Expand All @@ -29,6 +37,7 @@
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG DIRENV_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "direnv",
"depTypeTemplate": "components",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "direnv/direnv",
"extractVersionTemplate": "^v(?<version>.+)$"
Expand All @@ -38,6 +47,7 @@
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG JQ_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "jq",
"depTypeTemplate": "components",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "jqlang/jq",
"extractVersionTemplate": "^jq (?<version>.+)$"
Expand All @@ -47,6 +57,7 @@
"fileMatch": ["Dockerfile\\.tmpl"],
"matchStrings": ["ARG YQ_VERSION=\"(?<currentValue>.+)\""],
"depNameTemplate": "yq",
"depTypeTemplate": "components",
"datasourceTemplate": "github-releases",
"packageNameTemplate": "mikefarah/yq",
"extractVersionTemplate": "^v(?<version>.+)$"
Expand All @@ -56,6 +67,7 @@
"fileMatch": ["Makefile"],
"matchStrings": ["_HADOLINT_VERSION = (?<currentValue>.+)"],
"depNameTemplate": "hadolint",
"depTypeTemplate": "components",
"datasourceTemplate": "docker",
"packageNameTemplate": "hadolint/hadolint"
}
Expand Down

0 comments on commit 4cb511c

Please sign in to comment.