From 0076b451a4ae81d95ac4773d597fdeedca34f559 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 27 Aug 2024 19:45:47 +0200 Subject: [PATCH] update forgejo and fix renovate (#169) Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/169 Co-authored-by: Michael Grote Co-committed-by: Michael Grote --- group_vars/git.yml | 2 +- renovate.json | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/group_vars/git.yml b/group_vars/git.yml index 9093f25c..bb87c9c9 100644 --- a/group_vars/git.yml +++ b/group_vars/git.yml @@ -55,7 +55,7 @@ ufw_rules: ### ansible_role_gitea gitea_fork: "forgejo" # gitea update -gitea_version: "1.21.11-2" # TODO renovate, wird das erkannt? +gitea_version: "8.0.0" # TODO renovate, wird das erkannt? gitea_version_check: true gitea_backup_on_upgrade: false # gitea in the linux world diff --git a/renovate.json b/renovate.json index 9340c549..f748d475 100644 --- a/renovate.json +++ b/renovate.json @@ -17,6 +17,14 @@ ], "datasourceTemplate": "github-releases", "depNameTemplate": "Corsinvest/cv4pve-autosnap" + }, + { + "fileMatch": ["git.yml$"], + "matchStrings": [ + "gitea_version: (?v[\\d.]+)" + ], + "datasourceTemplate": "gitea-releases", + "lookupName": "https://codeberg.org/forgejo/forgejo" }], "packageRules": [{ "matchDatasources": ["github-releases"], @@ -29,5 +37,12 @@ "matchDepNames": ["Corsinvest/cv4pve-autosnap"], "matchUpdateTypes": ["minor", "patch"], "automerge": true - }] + }, + { + "matchDatasources": ["gitea-releases"], + "matchDepNames": ["forgejo"], + "lookupName": "https://codeberg.org/forgejo/forgejo", + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + }] }