-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathrenovate.json
More file actions
92 lines (92 loc) · 3.28 KB
/
renovate.json
File metadata and controls
92 lines (92 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["dockerfile", "tekton"],
"packageRules": [
{
"description": "Disable all Dockerfile updates by default. Only specific files will get targeted.",
"matchManagers": ["dockerfile"],
"enabled": false
},
{
"description": "Enable Docker image updates for Red Hat UBI images on major version 9",
"matchManagers": ["dockerfile"],
"matchFileNames": [
"Containerfile.external-dns-operator"
],
"matchDatasources": ["docker"],
"matchPackageNames": [
"registry.access.redhat.com/ubi9/ubi-minimal"
],
"enabled": true,
"versioning": "redhat",
"schedule": [
"after 5am on tuesday"
]
},
{
"description": "Keep Go toolset on minor version 1.24",
"matchManagers": ["dockerfile"],
"matchFileNames": [
"Containerfile.external-dns-operator"
],
"matchDatasources": ["docker"],
"matchPackageNames": [
"registry.access.redhat.com/ubi9/go-toolset"
],
"enabled": true,
"versioning": "redhat",
"allowedVersions": "/^1\\.24(\\.|$)/",
"schedule": [
"after 5am on tuesday"
]
}
],
"tekton": {
"managerFilePatterns": [
"/\\.yaml$/",
"/\\.yml$/"
],
"includePaths": [
".tekton/**"
],
"packageRules": [
{
"matchPackageNames": [
"/^quay.io/redhat-appstudio-tekton-catalog//",
"/^quay.io/konflux-ci/tekton-catalog//",
"/^quay.io/konflux-ci/konflux-vanguard//"
],
"enabled": true,
"groupName": "Konflux references",
"branchPrefix": "konflux/references/",
"additionalBranchPrefix": "",
"group": {
"branchTopic": "{{{baseBranch}}}",
"commitMessageTopic": "{{{groupName}}}"
},
"commitMessageTopic": "Konflux references",
"prBodyColumns": [
"Package",
"Change",
"Notes"
],
"prBodyDefinitions": {
"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}}"
},
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{configDescription}}}{{{controls}}}{{{footer}}}",
"recreateWhen": "always",
"rebaseWhen": "behind-base-branch"
}
],
"schedule": [
"after 5am on tuesday"
],
"postUpgradeTasks": {
"commands": [
"pipeline-migration-tool migrate -f \"$RENOVATE_POST_UPGRADE_COMMAND_DATA_FILE\""
],
"executionMode": "branch",
"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}}]"
}
}
}