generated from cloudnative-pg/cnpg-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathrenovate.json
More file actions
77 lines (77 loc) · 3.16 KB
/
renovate.json
File metadata and controls
77 lines (77 loc) · 3.16 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"docker:pinDigests",
"customManagers:githubActionsVersions"
],
"enabledManagers": [
"github-actions",
"custom.regex"
],
"customManagers": [
{
"description": "updates the deb package versions in the metadata.hcl files",
"customType": "regex",
"managerFilePatterns": [
"**/*.hcl"
],
"matchStrings": [
"\\/\\/\\s*renovate:\\s*?(suite=(?<suite>.*?))?\\s*depName=(?<depName>.*?)?\\s*\"[A-Za-z0-9_-]+\"\\s*=\\s*\"(?<currentValue>.*)\""
],
"registryUrlTemplate": "https://download.postgresql.org/pub/repos/apt?suite={{#if suite}}{{suite}}{{else}}stable{{/if}}&components=main&binaryArch=amd64",
"datasourceTemplate": "deb"
},
{
"description": "updates the container image versions in the README.md files",
"customType": "regex",
"managerFilePatterns": [
"**/README.md"
],
"matchStrings": [
"#\\s*renovate:\\s*?(suite=(?<suite>.*?))?\\s*depName=(?<depName>.*?)?\\s*reference: ghcr.io\\/cloudnative-pg\\/[A-Za-z0-9_-]+:(?<currentValue>([0-9]\\.?)+)",
"#\\s*renovate:\\s*?(suite=(?<suite>.*?))?\\s*depName=(?<depName>.*?)?\\s*version: '(?<currentValue>([0-9]\\.?)+)'"
],
"registryUrlTemplate": "https://download.postgresql.org/pub/repos/apt?suite={{#if suite}}{{suite}}{{else}}stable{{/if}}&components=main&binaryArch=amd64",
"datasourceTemplate": "deb",
"extractVersionTemplate": "^(?<version>[^-+]+)"
},
{
"description": "updates the Taskfile dependencies",
"customType": "regex",
"managerFilePatterns": [
"Taskfile.yml"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: currentValue=(?<currentValue>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_SHA\\s*:\\s*[\"']?(?<currentDigest>[a-f0-9]+?)[\"']?\\s",
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[^:]+\\s*:\\s*[\"']?(?<currentValue>[^@]+?)(@(?<currentDigest>sha256:[0-9a-f]+))?[\"']?\\s"
]
},
{
"description": "updates the dagger dependencies",
"customType": "regex",
"managerFilePatterns": [
"dagger/**/*.go"
],
"matchStrings": [
"\\/\\/\\s+renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))\\s+\\/\\/\\s+\\+default=[\\\"']?[^:]+?:(?<currentValue>[^@]+?)(@(?<currentDigest>sha256:[0-9a-f]+))?[\"']?\\s"
]
}
],
"packageRules": [
{
"matchDatasources": [
"github-tags"
],
"matchUpdateTypes": [
"digest",
"pinDigest",
"major",
"minor",
"patch"
],
"groupName": "all github action",
"pinDigests": true
}
]
}