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
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"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$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+[a-z_0-9]+:\\s*\"?(?<currentValue>[^\"\\s]+)\"?"
|
|
]
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Paper needs Java 21; the tag is a floating JRE line",
|
|
"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)."
|
|
]
|
|
},
|
|
{
|
|
"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."
|
|
]
|
|
}
|
|
]
|
|
}
|