forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
40 lines (40 loc) · 1.38 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>elastic/renovate-config:only-chainguard",
":disableDependencyDashboard"
],
"schedule": [
"after 1pm on tuesday"
],
"labels": [">non-issue", ":Delivery/Packaging", "Team:Delivery"],
"baseBranches": ["main", "8.x"],
"packageRules": [
{
"groupName": "wolfi (versioned)",
"groupSlug": "wolfi-versioned",
"description": "Override the `groupSlug` to create a non-special-character branch name",
"matchDatasources": [
"docker"
],
"matchPackagePatterns": [
"^docker.elastic.co/wolfi/chainguard-base$"
]
}
],
"customManagers": [
{
"description": "Extract Wolfi images from elasticsearch DockerBase configuration",
"customType": "regex",
"fileMatch": [
"build\\-tools\\-internal\\/src\\/main\\/java\\/org\\/elasticsearch\\/gradle\\/internal\\/DockerBase\\.java$"
],
"matchStrings": [
"\\s*\"?(?<depName>[^\\s:@\"]+)(?::(?<currentValue>[-a-zA-Z0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?\"?"
],
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}latest{{/if}}",
"autoReplaceStringTemplate": "{{{depName}}}{{#if newValue}}:{{{newValue}}}{{/if}}{{#if newDigest}}@{{{newDigest}}}{{/if}}\"",
"datasourceTemplate": "docker"
}
]
}