elasticsearch/renovate.json
elastic-renovate-prod[bot] 5728a7210b
Migrate config renovate.json (#121759)
The Renovate config in this repository needs migrating. Typically this
is because one or more configuration options you are using have been
renamed.

You don't need to merge this PR right away, because Renovate will
continue to migrate these fields internally each time it runs. But later
some of these fields may be fully deprecated and the migrations removed.
So it's a good idea to merge this migration PR soon. 

🔕 **Ignore**: Close this PR and you won't be reminded about config
migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate
to [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
2025-02-06 01:10:15 +11:00

53 lines
1.5 KiB
JSON

{
"$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.16",
"9.0",
"8.18",
"8.17",
"8.x",
"7.17"
],
"packageRules": [
{
"groupName": "wolfi (versioned)",
"groupSlug": "wolfi-versioned",
"description": "Override the `groupSlug` to create a non-special-character branch name",
"matchDatasources": [
"docker"
],
"matchPackageNames": [
"/^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"
}
]
}