Skip to content

Commit 8901a21

Browse files
authored
chore: rework renovate configs (#825)
Signed-off-by: Kim Tsao <ktsao@redhat.com>
1 parent 8915566 commit 8901a21

14 files changed

Lines changed: 346 additions & 43 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"devDeps": {
3+
"description": "Group all minor/patch devdependencies updates for RHDH {{arg0}} Plugins",
4+
"matchUpdateTypes": ["minor", "patch"],
5+
"matchDepTypes": ["devDependencies"],
6+
"groupName": "RHDH {{arg0}} DevDependencies (non-major)",
7+
"automerge": true
8+
}
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"minor": {
3+
"description": "Group all minor updates for RHDH {{arg0}} Plugins",
4+
"matchUpdateTypes": ["minor"],
5+
"matchDepTypes": ["dependencies", "peerDependencies"],
6+
"groupName": "RHDH {{arg0}} Dependencies (minor)"
7+
}
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"patch": {
3+
"description": "Group all patch updates for RHDH {{arg0}} Plugins",
4+
"matchUpdateTypes": ["patch"],
5+
"matchDepTypes": ["dependencies", "peerDependencies"],
6+
"groupName": "RHDH {{arg0}} Dependencies (patch)",
7+
"automerge": true
8+
}
9+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all RHDH Adoption Insights plugins minor updates",
5+
"matchFileNames": ["workspaces/adoption-insights/**"],
6+
"extends": [
7+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Adoption Insights)"
8+
],
9+
"addLabels": ["team/pai", "adoption-insights"]
10+
},
11+
{
12+
"description": "all RHDH Adoption Insights plugins patch updates",
13+
"matchFileNames": ["workspaces/adoption-insights/**"],
14+
"extends": [
15+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Adoption Insights)"
16+
],
17+
"addLabels": ["team/pai", "adoption-insights"]
18+
},
19+
{
20+
"description": "all RHDH Adoption Insights plugins dev dependency updates",
21+
"matchFileNames": ["workspaces/adoption-insights/**"],
22+
"extends": [
23+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Adoption Insights)"
24+
],
25+
"addLabels": ["team/pai", "adoption-insights"]
26+
}
27+
]
28+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all PAI workspaces minor updates",
5+
"matchFileNames": [
6+
"workspaces/ai-integrations/**",
7+
"workspaces/lightspeed/**"
8+
],
9+
"extends": [
10+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(PAI)"
11+
],
12+
"addLabels": ["team/pai", "pai"]
13+
},
14+
{
15+
"description": "all PAI workspaces patch updates",
16+
"matchFileNames": [
17+
"workspaces/ai-integrations/**",
18+
"workspaces/lightspeed/**"
19+
],
20+
"extends": [
21+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(PAI)"
22+
],
23+
"addLabels": ["team/pai", "pai"]
24+
},
25+
{
26+
"description": "all PAI workspaces dev dependency updates",
27+
"matchFileNames": [
28+
"workspaces/ai-integrations/**",
29+
"workspaces/lightspeed/**"
30+
],
31+
"extends": [
32+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(PAI)"
33+
],
34+
"addLabels": ["team/pai", "pai"]
35+
}
36+
]
37+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all RHDH Bulk Import patch updates",
5+
"matchFileNames": ["workspaces/bulk-import/**"],
6+
"extends": [
7+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Bulk Import)"
8+
],
9+
"addLabels": ["team/rhdh", "bulk-import"]
10+
},
11+
{
12+
"description": "all RHDH Bulk Import dev dependency updates",
13+
"matchFileNames": ["workspaces/bulk-import/**"],
14+
"extends": [
15+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Bulk Import)"
16+
],
17+
"addLabels": ["team/rhdh", "bulk-import"]
18+
},
19+
{
20+
"description": "all RHDH Bulk Import minor updates",
21+
"matchFileNames": ["workspaces/bulk-import/**"],
22+
"extends": [
23+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Bulk Import)"
24+
],
25+
"addLabels": ["team/rhdh", "bulk-import"]
26+
}
27+
]
28+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all global ui minor updates",
5+
"matchFileNames": [
6+
"workspaces/global-floating-action-button/**",
7+
"workspaces/global-header/**"
8+
],
9+
"extends": [
10+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Global UI)"
11+
],
12+
"addLabels": ["team/rhdh", "global-ui"]
13+
},
14+
{
15+
"description": "all global ui patch updates",
16+
"matchFileNames": [
17+
"workspaces/global-floating-action-button/**",
18+
"workspaces/global-header/**"
19+
],
20+
"extends": [
21+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Global UI)"
22+
],
23+
"addLabels": ["team/rhdh", "global-ui"]
24+
},
25+
{
26+
"description": "all global ui dev dependency updates",
27+
"matchFileNames": [
28+
"workspaces/global-floating-action-button/**",
29+
"workspaces/global-header/**"
30+
],
31+
"extends": [
32+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Global UI)"
33+
],
34+
"addLabels": ["team/rhdh", "global-ui"]
35+
}
36+
]
37+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all homepage minor updates",
5+
"matchFileNames": ["workspaces/homepage/**"],
6+
"extends": [
7+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Homepage)"
8+
],
9+
"addLabels": ["team/rhdh", "homepage"]
10+
},
11+
{
12+
"description": "all homepage patch updates",
13+
"matchFileNames": ["workspaces/homepage/**"],
14+
"extends": [
15+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Homepage)"
16+
],
17+
"addLabels": ["team/rhdh", "homepage"]
18+
},
19+
{
20+
"description": "all homepage dev dependency updates",
21+
"matchFileNames": ["workspaces/homepage/**"],
22+
"extends": [
23+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Homepage)"
24+
],
25+
"addLabels": ["team/rhdh", "homepage"]
26+
}
27+
]
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all marketplace minor updates",
5+
"matchFileNames": ["workspaces/marketplace/**"],
6+
"extends": [
7+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Marketplace)"
8+
],
9+
"addLabels": ["team/rhdh", "marketplace"]
10+
},
11+
{
12+
"description": "all marketplace patch updates",
13+
"matchFileNames": ["workspaces/marketplace/**"],
14+
"extends": [
15+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Marketplace)"
16+
],
17+
"addLabels": ["team/rhdh", "marketplace"]
18+
},
19+
{
20+
"description": "all marketplace dev dependency updates",
21+
"matchFileNames": ["workspaces/marketplace/**"],
22+
"extends": [
23+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Marketplace)"
24+
],
25+
"addLabels": ["team/rhdh", "marketplace"]
26+
}
27+
]
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"packageRules": [
3+
{
4+
"description": "all openshift image registry minor updates",
5+
"matchFileNames": ["workspaces/openshift-image-registry/**"],
6+
"extends": [
7+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(OIR)"
8+
],
9+
"addLabels": ["team/rhdh", "openshift-image-registry"]
10+
},
11+
{
12+
"description": "all openshift image registry patch updates",
13+
"matchFileNames": ["workspaces/openshift-image-registry/**"],
14+
"extends": [
15+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(OIR)"
16+
],
17+
"addLabels": ["team/rhdh", "openshift-image-registry"]
18+
},
19+
{
20+
"description": "all openshift image registry dev dependency updates",
21+
"matchFileNames": ["workspaces/openshift-image-registry/**"],
22+
"extends": [
23+
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(OIR)"
24+
],
25+
"addLabels": ["team/rhdh", "openshift-image-registry"]
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)