ci: run Renovate from asxpi/renovate

Renovate now runs from its own repository for every repo, with the
shared rules in its preset. Extend that preset here and keep only what
is specific to this repo (the Ansible var manager, the Paper JRE, the
runner and nix notes); drop the workflow that ran it for iac alone.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-13 00:00:06 +04:00
commit 35c6ab5e30
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 21 additions and 49 deletions

View file

@ -1,16 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disableDependencyDashboard"],
"timezone": "Europe/Helsinki",
"labels": ["dependencies"],
"prHourlyLimit": 0,
"prConcurrentLimit": 10,
"commitMessagePrefix": "deps:",
"extends": [
"local>asxpi/renovate"
],
"customManagers": [
{
"description": "Versions in Ansible vars, marked with a comment: # renovate: datasource=<ds> depName=<name>",
"customType": "regex",
"managerFilePatterns": ["/^ansible/.+\\.ya?ml$/"],
"managerFilePatterns": [
"/^ansible/.+\\.ya?ml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+[a-z_0-9]+:\\s*\"?(?<currentValue>[^\"\\s]+)\"?"
]
@ -19,23 +18,28 @@
"packageRules": [
{
"description": "Paper needs Java 21; the tag is a floating JRE line",
"matchPackageNames": ["eclipse-temurin"],
"matchPackageNames": [
"eclipse-temurin"
],
"enabled": false
},
{
"description": "Every job runs this image and a nix-store volume tied to its version",
"matchPackageNames": ["nixos/nix"],
"prBodyNotes": ["After merging, remove the old `nix-store-<old version>` volume on asxpio-services (see forgejo_runner.yaml)."]
"matchPackageNames": [
"nixos/nix"
],
"prBodyNotes": [
"After merging, remove the old `nix-store-<old version>` volume on asxpio-services (see forgejo_runner.yaml)."
]
},
{
"description": "A runner change recreates the runner mid-job",
"matchPackageNames": ["code.forgejo.org/forgejo/runner"],
"prBodyNotes": ["The deploy job that applies this shows as cancelled; the next run confirms the result."]
},
{
"description": "Renovate itself releases daily; once a month is enough",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"schedule": ["* * 1 * *"]
"matchPackageNames": [
"code.forgejo.org/forgejo/runner"
],
"prBodyNotes": [
"The deploy job that applies this shows as cancelled; the next run confirms the result."
]
}
]
}