generated from ik-workshop/renovate-issue-blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
73 lines (72 loc) · 2.27 KB
/
config.js
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
const Fs = require('fs');
module.exports = {
"platform": "github",
"token": process.env.RENOVATE_TOKEN,
"repositories": JSON.parse(Fs.readFileSync('repos.json', 'utf8')),
"logLevel": process.env.LOG_LEVEL,
"gitAuthor": "Renovate Bot <[email protected]>",
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"pruneStaleBranches": true,
"recreateWhen": "always",
"onboarding": false,
"requireConfig": "optional",
"baseBranches": ["master", "main"],
"enabledManagers": ["helmv3", "helm-values"],
"packageRules": [
// use this option
{
"matchDatasources": ["docker"],
"matchPackageNames": ["public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe"],
"versioning": "loose"
},
// or configure specific versioning
{
"matchDatasources": ["docker"],
"matchPackageNames": ["public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe"],
"versioning": "regex:^v?(?<major>\\d+)\.(?<minor>\\d+)\.(?<patch>\\d+)-eks-\\d+-\\d+-\\d+$",
// https://docs.renovatebot.com/configuration-options/#prbodydefinitions
// not required, just playing with settings
"prBodyDefinitions": {
"Compatibility Guide": "[link](https://docs.aws.amazon.com/eks/latest/userguide/managing-coredns.html)",
"Sources": "[link](https://github.com/coredns/coredns)",
"Public Gallery": "[link](https://gallery.ecr.aws/eks-distro/coredns/coredns)"
},
"prBodyColumns": [
"Package",
"Update",
"Change",
"Compatibility Guide",
"Sources",
"Public Gallery"
]
}
],
"regexManagers": [],
"hostRules": [
// {
// "hostType": "docker",
// "matchHost": "public.ecr.aws"
// },
// {
// "hostType": "docker",
// "matchHost": "public.ecr.aws",
// "username": "AWS",
// "password": process.env.AWS_ECR_TOKEN
// },
// {
// "hostType": "docker",
// "matchHost": "public.ecr.aws",
// "username": process.env.AWS_ACCESS_KEY_ID,
// "encrypted": {
// "password": process.env.AWS_SECRET_ACCESS_KEY
// }
// },
// {
// "hostType": "docker",
// "matchHost": "public.ecr.aws",
// "username": process.env.AWS_ACCESS_KEY_ID,
// "password": process.env.AWS_SECRET_ACCESS_KEY
// }
]
}