forked from konflux-ci/konflux-ci
-
Notifications
You must be signed in to change notification settings - Fork 1
/
renovate.json
69 lines (69 loc) · 2.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchPackageNames": [
"https://github.com/redhat-appstudio/*",
"https://github.com/konflux-ci/*",
"https://github.com/enterprise-contract/*",
"quay.io/konflux-ci/*"
],
"autoApprove": true,
"automerge": true
}
],
"enabledManagers": ["regex", "kustomize"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["(^|\/)kustomization\\.(yaml|yml)$"],
"matchStrings": [
"- (?<packageName>https:\/\/github\\.com\/[^/]+\/[^/]+)\/.*\\?ref=(?<currentDigest>[a-f0-9]{40})"
],
"datasourceTemplate": "git-refs",
"currentValueTemplate": "main"
},
{
"customType": "regex",
"matchStringsStrategy": "combination",
"fileMatch": ["(^|\/)kustomization\\.(yaml|yml)$"],
"matchStrings": [
"- (?<packageName>https:\/\/github\\.com\/[^/]+\/[^/]+)\/.*\\?ref=[a-f0-9]{40}",
"newTag:\\s+(?<currentDigest>[a-f0-9]{40})"
],
"datasourceTemplate": "git-refs",
"currentValueTemplate": "main"
},
{
"customType": "regex",
"fileMatch": ["konflux-ci/enterprise-contract/core/kustomization.yaml"],
"matchStrings": [
"- verify_ec_task_bundle=(?<depName>quay\\.io/enterprise-contract/ec-task-bundle)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"autoReplaceStringTemplate": "- verify_ec_task_bundle={{depName}}@{{newDigest}}",
"datasourceTemplate": "docker",
"currentValueTemplate": "snapshot"
},
{
"customType": "regex",
"matchStringsStrategy": "combination",
"fileMatch": ["konflux-ci/enterprise-contract/core/kustomization.yaml"],
"matchStrings": [
"- verify_ec_task_git_url=(?<packageName>https:\/\/github\\.com\/enterprise-contract\/ec-cli)\\.git",
"- verify_ec_task_git_revision=(?<currentDigest>[a-f0-9]{40})"
],
"datasourceTemplate": "git-refs",
"currentValueTemplate": "main"
},
{
"customType": "regex",
"fileMatch": ["konflux-ci/build-service/core/build-pipeline-config.yaml"],
"matchStrings": [
"bundle: (?<depName>quay\\.io/konflux-ci/tekton-catalog/pipeline-[^@]+)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"autoReplaceStringTemplate": "bundle: {{depName}}@{{newDigest}}",
"datasourceTemplate": "docker",
"currentValueTemplate": "devel"
}
]
}