mirror of
https://github.com/containers/ramalama.git
synced 2026-02-05 15:47:26 +01:00
A newly introduced renovate.json configures renovate to automate these updates that used to be performed manually: - https://github.com/containers/ramalama/pull/746 - https://github.com/containers/ramalama/pull/816 Signed-off-by: Giulia Naponiello <gnaponie@redhat.com>
88 lines
2.2 KiB
JSON
88 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"customDatasources": {
|
|
"amdgpu": {
|
|
"defaultRegistryUrlTemplate": "https://repo.radeon.com/amdgpu/",
|
|
"format": "html"
|
|
},
|
|
"rocm": {
|
|
"defaultRegistryUrlTemplate": "https://repo.radeon.com/rocm/rhel9/",
|
|
"format": "html"
|
|
}
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"container-images\/rocm\/amdgpu\\.repo"
|
|
],
|
|
"matchStrings": [
|
|
"baseurl=https:\/\/repo\\.radeon\\.com\/amdgpu\/(?<currentValue>.*)\/rhel\/(.*)"
|
|
],
|
|
"datasourceTemplate": "custom.amdgpu",
|
|
"versioningTemplate": "semver",
|
|
"depNameTemplate": "amdgpu"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"container-images\/rocm\/rocm\\.repo"
|
|
],
|
|
"matchStrings": [
|
|
"baseurl=https:\/\/repo\\.radeon\\.com\/rocm\/rhel9\/(?<currentValue>.*)\/main"
|
|
],
|
|
"datasourceTemplate": "custom.rocm",
|
|
"versioningTemplate": "semver",
|
|
"depNameTemplate": "rocm"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"ramalama\/model\\.py"
|
|
],
|
|
"matchStrings": [
|
|
"return \"(?<depName>.*):(?<currentValue>.*)\""
|
|
],
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "regex:rhoai-(?<major>\\d+).(?<minor>\\d+)-rocm$",
|
|
"depNameTemplate": "quay.io/modh/vllm"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"ramalama\/model\\.py"
|
|
],
|
|
"matchStrings": [
|
|
"return \"(?<depName>.*):(?<currentValue>.*)\""
|
|
],
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "regex:rhoai-(?<major>\\d+).(?<minor>\\d+)-cuda$",
|
|
"depNameTemplate": "quay.io/modh/vllm"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchDatasources": [
|
|
"custom.amdgpu"
|
|
],
|
|
"extractVersion": "(?<version>.+)/$",
|
|
"schedule": [
|
|
"at any time"
|
|
]
|
|
},
|
|
{
|
|
"matchDatasources": [
|
|
"custom.rocm"
|
|
],
|
|
"extractVersion": "(?<version>.+)/$",
|
|
"schedule": [
|
|
"at any time"
|
|
]
|
|
},
|
|
{
|
|
"matchDatasources": ["custom.amdgpu", "custom.rocm"],
|
|
"groupName": "amdgpu-rocm"
|
|
}
|
|
]
|
|
}
|