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,61 +1,48 @@
{ {
"$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/**" "matchStrings": [
], "blocky_version: (?<currentValue>v[\\d.]+)"
"customManagers": [ ],
{ "datasourceTemplate": "github-releases",
"customType": "regex", "depNameTemplate": "0xERR0R/blocky"
"fileMatch": [ },
"blocky.yml$" {
], "fileMatch": ["pve.yml$"],
"matchStrings": [ "matchStrings": [
"blocky_version: (?<currentValue>v[\\d.]+)" "cv4pve_version: (?<currentValue>v[\\d.]+)"
], ],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"depNameTemplate": "0xERR0R/blocky" "depNameTemplate": "Corsinvest/cv4pve-autosnap"
}, },
{ {
"customType": "regex", "fileMatch": ["git.yml$"],
"fileMatch": [ "matchStrings": [
"pve.yml$" "gitea_version: (?<currentValue>[\\d.]+)"
], ],
"matchStrings": [ "datasourceTemplate": "gitea-releases",
"cv4pve_version: (?<currentValue>v[\\d.]+)" "packageName": "forgejo/forgejo",
], "registryUrl": "https://codeberg.org/"
"datasourceTemplate": "github-releases", }],
"depNameTemplate": "Corsinvest/cv4pve-autosnap" "packageRules": [{
} "matchDatasources": ["github-releases"],
], "matchDepNames": ["0xERR0R/blocky"],
"packageRules": [ "matchUpdateTypes": ["minor", "patch"],
{ "automerge": true
"matchDatasources": [ },
"github-releases" {
], "matchDatasources": ["github-releases"],
"matchDepNames": [ "matchDepNames": ["Corsinvest/cv4pve-autosnap"],
"0xERR0R/blocky" "matchUpdateTypes": ["minor", "patch"],
], "automerge": true
"matchUpdateTypes": [ },
"minor", {
"patch" "matchDatasources": ["gitea-releases"],
], "matchDepNames": ["forgejo"],
"automerge": true "matchUpdateTypes": ["minor", "patch"],
}, "automerge": true
{ }]
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"Corsinvest/cv4pve-autosnap"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
}
]
} }