All checks were successful
nixos / nixos (push) Successful in 26s
asxpi/asxpio now exports the app (bundlerEnv, ImageMagick 7) and a module running the site and its monitor worker as hardened systemd services. services runs the site on :3001 next to the container on ops; no route yet, and the monitor stays off until the container's stops. pg_hba lets the asxpio role in from 10.10.0.20 too (restarts Postgres once); the settings and secrets, copied from the container's environment with the database and Garage on ops' private address, are in services' sops file. Renovate automerges its bumps like the other apps'. Assisted-by: Claude:opus-5-5
129 lines
3.7 KiB
JSON
129 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"local>asxpi/renovate"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"description": "Versions in the NixOS config, marked with a comment: # renovate: datasource=<ds> depName=<name> above `name = \"<image>:<tag>\";` or `name = \"<version>\";`",
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^nixos/.+\\.nix$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+[A-Za-z_0-9]+ = \"(?:[^\"]*:)?(?<currentValue>[^\":]+)\";"
|
|
]
|
|
},
|
|
{
|
|
"description": "Runner job images, pinned in the labels: docker://<image>:<tag>",
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^nixos/hosts/asxpio-services/runner\\.nix$/"
|
|
],
|
|
"matchStrings": [
|
|
"docker://(?<depName>[a-z0-9./_-]+):(?<currentValue>[A-Za-z0-9._-]+)"
|
|
],
|
|
"datasourceTemplate": "docker"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "App releases: an app's flake input moves with its main. Renovate fast-forwards main with its signed lock bump once CI passes, and comin deploys it; no PR",
|
|
"matchManagers": [
|
|
"nix"
|
|
],
|
|
"matchDepNames": [
|
|
"blog",
|
|
"czsk",
|
|
"datacenterbingo",
|
|
"asxpio"
|
|
],
|
|
"automerge": true,
|
|
"automergeType": "branch"
|
|
},
|
|
{
|
|
"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": [
|
|
"nixos/hosts/asxpio-services/runner.nix"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"major"
|
|
],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "python-3.11 / python-3.12 labels stay on their minor line",
|
|
"matchFileNames": [
|
|
"nixos/hosts/asxpio-services/runner.nix"
|
|
],
|
|
"matchPackageNames": [
|
|
"python"
|
|
],
|
|
"matchCurrentValue": "/^3\\.11\\./",
|
|
"allowedVersions": "/^3\\.11\\./"
|
|
},
|
|
{
|
|
"matchFileNames": [
|
|
"nixos/hosts/asxpio-services/runner.nix"
|
|
],
|
|
"matchPackageNames": [
|
|
"python"
|
|
],
|
|
"matchCurrentValue": "/^3\\.12\\./",
|
|
"allowedVersions": "/^3\\.12\\./"
|
|
},
|
|
{
|
|
"description": "archlinux tags are base-YYYYMMDD.0.BUILD",
|
|
"matchPackageNames": [
|
|
"archlinux"
|
|
],
|
|
"versioning": "regex:^base-(?<major>\\d{8})\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
|
|
},
|
|
{
|
|
"description": "Both label files carry the same pins: one PR per image",
|
|
"matchFileNames": [
|
|
"nixos/hosts/asxpio-services/runner.nix"
|
|
],
|
|
"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-<old version>` volume on asxpio-services (see nixos/hosts/asxpio-services/runner.nix)."
|
|
]
|
|
},
|
|
{
|
|
"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."
|
|
]
|
|
}
|
|
],
|
|
"rebaseWhen": "behind-base-branch",
|
|
"nix": {
|
|
"enabled": true
|
|
},
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"schedule": [
|
|
"before 6am on monday"
|
|
]
|
|
}
|
|
}
|