{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "local>asxpi/renovate" ], "customManagers": [ { "description": "Versions in Ansible vars, marked with a comment: # renovate: datasource= depName=", "customType": "regex", "managerFilePatterns": [ "/^ansible/.+\\.ya?ml$/" ], "matchStrings": [ "# renovate: datasource=(?\\S+) depName=(?\\S+)\\s+[a-z_0-9]+:\\s*\"?(?[^\"\\s]+)\"?" ] }, { "description": "Runner job images, pinned in the labels: docker://:", "customType": "regex", "managerFilePatterns": [ "/^ansible/roles/forgejo_runner/(templates/config\\.yaml\\.j2|tasks/main\\.yaml)$/" ], "matchStrings": [ "docker://(?[a-z0-9./_-]+):(?[A-Za-z0-9._-]+)" ], "datasourceTemplate": "docker" } ], "packageRules": [ { "description": "Paper needs Java 21: patch updates of the 21 JRE only", "matchPackageNames": [ "eclipse-temurin" ], "allowedVersions": "/^21\\./" }, { "description": "Runner labels name their line (node-20, debian-12, python-3.11): never leave it", "matchFileNames": [ "ansible/roles/forgejo_runner/**" ], "matchUpdateTypes": [ "major" ], "enabled": false }, { "description": "python-3.11 / python-3.12 labels stay on their minor line", "matchFileNames": [ "ansible/roles/forgejo_runner/**" ], "matchPackageNames": [ "python" ], "matchCurrentValue": "/^3\\.11\\./", "allowedVersions": "/^3\\.11\\./" }, { "matchFileNames": [ "ansible/roles/forgejo_runner/**" ], "matchPackageNames": [ "python" ], "matchCurrentValue": "/^3\\.12\\./", "allowedVersions": "/^3\\.12\\./" }, { "description": "archlinux tags are base-YYYYMMDD.0.BUILD", "matchPackageNames": [ "archlinux" ], "versioning": "regex:^base-(?\\d{8})\\.(?\\d+)\\.(?\\d+)$" }, { "description": "Both label files carry the same pins: one PR per image", "matchFileNames": [ "ansible/roles/forgejo_runner/**" ], "groupName": "runner job images", "matchUpdateTypes": [ "minor", "patch" ] }, { "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-` 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." ] } ] }