fix renovate config for forgejo #170

Merged
mg merged 5 commits from fix_r into master 2024-11-06 19:26:37 +01:00
2 changed files with 46 additions and 59 deletions

View file

@ -55,7 +55,7 @@ ufw_rules:
### roles-ansible.gitea
gitea_fork: "forgejo"
# gitea update
gitea_version: "9.0.1"
gitea_version: "9.0.0"
gitea_version_check: true
gitea_backup_on_upgrade: false
# gitea in the linux world

View file

@ -1,61 +1,48 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"ignorePaths": [
"**/friedhof/**"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"blocky.yml$"
],
"matchStrings": [
"blocky_version: (?<currentValue>v[\\d.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "0xERR0R/blocky"
},
{
"customType": "regex",
"fileMatch": [
"pve.yml$"
],
"matchStrings": [
"cv4pve_version: (?<currentValue>v[\\d.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "Corsinvest/cv4pve-autosnap"
}
],
"packageRules": [
{
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"0xERR0R/blocky"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
},
{
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"Corsinvest/cv4pve-autosnap"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
}
]
"extends": ["config:recommended"],
"ignorePaths": ["**/friedhof/**"],
"regexManagers": [{
"fileMatch": ["blocky.yml$"],
"matchStrings": [
"blocky_version: (?<currentValue>v[\\d.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "0xERR0R/blocky"
},
{
"fileMatch": ["pve.yml$"],
"matchStrings": [
"cv4pve_version: (?<currentValue>v[\\d.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "Corsinvest/cv4pve-autosnap"
},
{
"fileMatch": ["git.yml$"],
"matchStrings": [
"gitea_version: (?<currentValue>[\\d.]+)"
],
"datasourceTemplate": "gitea-releases",
"packageName": "forgejo/forgejo",
"registryUrl": "https://codeberg.org/"
}],
"packageRules": [{
"matchDatasources": ["github-releases"],
"matchDepNames": ["0xERR0R/blocky"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchDatasources": ["github-releases"],
"matchDepNames": ["Corsinvest/cv4pve-autosnap"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchDatasources": ["gitea-releases"],
"matchDepNames": ["forgejo"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}]
}