-
Notifications
You must be signed in to change notification settings - Fork 5
/
renovate.json
46 lines (46 loc) · 1.64 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "github>Omochice/renovate-config:deno"],
"customManagers": [
{
"customType": "regex",
"description": "Update versions.ts",
"fileMatch": ["cdk8s/src/versions/versions.ts"],
"matchStrings": [
"\\/\\/ renovate: datasource=(?<datasource>[0-9a-z-\\.]+?)?(?: registryUrl=(?<registryUrl>.*?)?)?(?: versioning=(?<versioning>[a-z-]+?))?\\s*\"(?<packageName>.+?)\":\\s*\"(?<currentValue>.+?)?(?:@(?<currentDigest>.+?))?\""
]
}
],
"automerge": true,
"packageRules": [
{
"matchDatasources": ["docker"],
"pinDigests": true
},
{
"matchDatasources": ["jenkins"],
"schedule": ["* 0-4 * * *"],
"minimumReleaseAge": "7 days"
},
{
"matchPackageNames": ["k3s"],
"matchDatasources": ["custom.k3s"],
"versioning": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<compatibility>\\+k3s)(?<build>\\d+)$",
"automerge": false
}
],
"pre-commit": {
"enabled": true
},
"schedule": ["after 3am on Sunday"],
"minimumReleaseAge": "30 days",
"customDatasources": {
"k3s": {
"defaultRegistryUrlTemplate": "https://update.k3s.io/v1-release/channels",
"transformTemplates": [
"{\"releases\":[{\"version\": $$.(data[id = 'stable'].latest),\"sourceUrl\":\"https://github.com/k3s-io/k3s\",\"changelogUrl\":$join([\"https://github.com/k3s-io/k3s/releases/tag/\",data[id = 'stable'].latest])}],\"sourceUrl\": \"https://github.com/k3s-io/k3s\",\"homepage\": \"https://k3s.io/\"}"
]
}
},
"reviewers": ["shepherdjerred"]
}