Skip to content

Commit

Permalink
Update renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk authored Jan 22, 2024
1 parent 8377210 commit 882297e
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"prHeader": "Renovate PR",
"labels": ["dependencies"],

"customManagers": [
{
"customType": "regex",
"fileMatch": ["^main.yml$"],
"matchStrings": ["global_rke2_version=(?<currentValue>.*?)\\n"],
"depNameTemplate": "rke2",
"versioningTemplate": "semver-coerced",
"datasourceTemplate": "custom.rke2"
}
{
"customType": "regex",
"fileMatch": [".*y[a]?ml$"],
"matchStrings": ["global_rke2_version=(?<currentValue>.*?)\\n"],
"depNameTemplate": "rke2",
"versioningTemplate": "semver-coerced",
"datasourceTemplate": "custom.rke2"
}
],

"customDatasources": {
"rke2": {
"defaultRegistryUrlTemplate": "https://update.rke2.io/v1-release/channels",
"transformTemplates": [
"{\"releases\":[{\"version\": $$.(data[id = 'stable'].latest),\"sourceUrl\":\"https://github.com/rancher/rke2\",\"changelogUrl\":$join([\"https://github.com/rancher/rke2/releases/tag/\",data[id = 'stable'].latest])}],\"sourceUrl\": \"https://github.com/rancher/rke2\",\"homepage\": \"https://docs.rke2.io\"}"
]
}
"rke2": {
"defaultRegistryUrlTemplate": "https://update.rke2.io/v1-release/channels",
"transformTemplates": [
"{\"releases\":[{\"version\": $$.(data[id = 'stable'].latest),\"sourceUrl\":\"https://github.com/rancher/rke2\",\"changelogUrl\":$join([\"https://github.com/rancher/rke2/releases/tag/\",data[id = 'stable'].latest])}],\"sourceUrl\": \"https://github.com/rancher/rke2\",\"homepage\": \"https://docs.rke2.io\"}"
]
}
}
}

0 comments on commit 882297e

Please sign in to comment.