Skip to content

Commit 8fa7439

Browse files
authored
[Build] Add 8.16 and 8.17 as base branches for wolfi updates (#118726) (#119411)
Furthermore add auto-merge label to PRs created by renovate (cherry picked from commit 127fa27) # Conflicts: # renovate.json
1 parent bf45723 commit 8fa7439

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

renovate.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>elastic/renovate-config:only-chainguard",
5+
":disableDependencyDashboard"
6+
],
7+
"schedule": [
8+
"after 1pm on tuesday"
9+
],
10+
"labels": [">non-issue", ":Delivery/Packaging", "Team:Delivery", "auto-merge-without-approval"],
11+
"baseBranches": ["main", "8.x", "8.17", "8.16"],
12+
"packageRules": [
13+
{
14+
"groupName": "wolfi (versioned)",
15+
"groupSlug": "wolfi-versioned",
16+
"description": "Override the `groupSlug` to create a non-special-character branch name",
17+
"matchDatasources": [
18+
"docker"
19+
],
20+
"matchPackagePatterns": [
21+
"^docker.elastic.co/wolfi/chainguard-base$"
22+
]
23+
}
24+
],
25+
"customManagers": [
26+
{
27+
"description": "Extract Wolfi images from elasticsearch DockerBase configuration",
28+
"customType": "regex",
29+
"fileMatch": [
30+
"build\\-tools\\-internal\\/src\\/main\\/java\\/org\\/elasticsearch\\/gradle\\/internal\\/DockerBase\\.java$"
31+
],
32+
"matchStrings": [
33+
"\\s*\"?(?<depName>[^\\s:@\"]+)(?::(?<currentValue>[-a-zA-Z0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?\"?"
34+
],
35+
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}latest{{/if}}",
36+
"autoReplaceStringTemplate": "{{{depName}}}{{#if newValue}}:{{{newValue}}}{{/if}}{{#if newDigest}}@{{{newDigest}}}{{/if}}\"",
37+
"datasourceTemplate": "docker"
38+
}
39+
]
40+
}

0 commit comments

Comments
 (0)