Skip to content

Commit

Permalink
[Build] Add 8.16 and 8.17 as base branches for wolfi updates (elastic…
Browse files Browse the repository at this point in the history
…#118726) (elastic#119411)

Furthermore add auto-merge label to PRs created by renovate

(cherry picked from commit 127fa27)

# Conflicts:
#	renovate.json
  • Loading branch information
breskeby authored Dec 31, 2024
1 parent bf45723 commit 8fa7439
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,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", "auto-merge-without-approval"],
"baseBranches": ["main", "8.x", "8.17", "8.16"],
"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"
}
]
}

0 comments on commit 8fa7439

Please sign in to comment.