Skip to content

Commit a6e0a3f

Browse files
committed
Use different branch prefix for mintmaker updates
As we are using konflux branch to pull changes from upstream, we need to use a different branch for mintmaker. This update the schedule too, so that it doesn't just run on weekends.
1 parent 7708c76 commit a6e0a3f

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

renovate.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"branchPrefix": "kflux/mintmaker/",
3+
"schedule": ["at any time"],
4+
"tekton": {
5+
"managerFilePatterns": [
6+
"/\\.yaml$/",
7+
"/\\.yml$/"
8+
],
9+
"includePaths": [
10+
".tekton/**"
11+
],
12+
"packageRules": [
13+
{
14+
"matchPackageNames": [
15+
"/^quay.io/redhat-appstudio-tekton-catalog//",
16+
"/^quay.io/konflux-ci/tekton-catalog//"
17+
],
18+
"enabled": true,
19+
"groupName": "Konflux references",
20+
"branchPrefix": "klux/references/",
21+
"additionalBranchPrefix": "",
22+
"group": {
23+
"branchTopic": "{{{baseBranch}}}",
24+
"commitMessageTopic": "{{{groupName}}}"
25+
},
26+
"commitMessageTopic": "Konflux references",
27+
"prBodyColumns": [
28+
"Package",
29+
"Change",
30+
"Notes"
31+
],
32+
"prBodyDefinitions": {
33+
"Notes": "{{#if (or (containsString updateType 'minor') (containsString updateType 'major'))}}:warning:[migration](https://github.com/redhat-appstudio/build-definitions/blob/main/task/{{{replace '^quay.io/(redhat-appstudio-tekton-catalog|konflux-ci/tekton-catalog)/task-' '' packageName}}}/{{{newVersion}}}/MIGRATION.md):warning:{{/if}}"
34+
},
35+
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{configDescription}}}{{{controls}}}{{{footer}}}",
36+
"recreateWhen": "always",
37+
"rebaseWhen": "behind-base-branch"
38+
}
39+
],
40+
"schedule": [
41+
"at any time"
42+
],
43+
"postUpgradeTasks": {
44+
"commands": [
45+
"pipeline-migration-tool migrate -f \"$RENOVATE_POST_UPGRADE_COMMAND_DATA_FILE\""
46+
],
47+
"executionMode": "branch",
48+
"dataFileTemplate": "[{{#each upgrades}}{\"depName\": \"{{{depName}}}\", \"currentValue\": \"{{{currentValue}}}\", \"currentDigest\": \"{{{currentDigest}}}\", \"newValue\": \"{{{newValue}}}\", \"newDigest\": \"{{{newDigest}}}\", \"packageFile\": \"{{{packageFile}}}\", \"parentDir\": \"{{{parentDir}}}\", \"depTypes\": [{{#each depTypes}}\"{{{this}}}\"{{#unless @last}},{{\/unless}}{{\/each}}]}{{#unless @last}},{{\/unless}}{{\/each}}]"
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)