fix renovate config for forgejo (#170)
All checks were successful
ansible-lint / gitleaks (push) Successful in 3s
ansible-lint / Ansible Lint (push) Successful in 30s

Reviewed-on: #170
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2024-11-06 19:26:36 +01:00 committed by Michael Grote
parent 15faabfd0f
commit 2ff10f672e
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
}]
}