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 ### roles-ansible.gitea
gitea_fork: "forgejo" gitea_fork: "forgejo"
# gitea update # gitea update
gitea_version: "9.0.1" gitea_version: "9.0.0"
gitea_version_check: true gitea_version_check: true
gitea_backup_on_upgrade: false gitea_backup_on_upgrade: false
# gitea in the linux world # gitea in the linux world

View file

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