Both servers run NixOS. The Ansible code and the move itself leave main for their own branches: `ansible` is the Debian/Ansible setup as it was before the migration, `migration` keeps the plan and record, the data scripts and everything else the move needed. README and RESTORE describe the setup as it is now: NixOS, Podman, sops, OpenTofu, the backup paths and hooks of the new layout. The README carries the TODO list that MIGRATION.md had. The Forgejo sanitising script stays, under hosts/rehearsal, with the rules for rehearsing on restored production data in the NixOS README. Renovate no longer looks at Ansible files. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
168fd2ecb9
commit
6d9122eeff
1 changed files with 135 additions and 34955 deletions
|
|
@ -5,17 +5,7 @@
|
|||
],
|
||||
"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]+)\"?"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Versions in the NixOS config, marked the same way: # renovate: ... above `name = \"<image>:<tag>\";` or `name = \"<version>\";`",
|
||||
"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$/"
|
||||
|
|
@ -28,7 +18,6 @@
|
|||
"description": "Runner job images, pinned in the labels: docker://<image>:<tag>",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": [
|
||||
"/^ansible/roles/forgejo_runner/(templates/config\\.yaml\\.j2|tasks/main\\.yaml)$/",
|
||||
"/^nixos/hosts/asxpio-services/runner\\.nix$/"
|
||||
],
|
||||
"matchStrings": [
|
||||
|
|
@ -48,7 +37,6 @@
|
|||
{
|
||||
"description": "Runner labels name their line (node-20, debian-12, python-3.11): never leave it",
|
||||
"matchFileNames": [
|
||||
"ansible/roles/forgejo_runner/**",
|
||||
"nixos/hosts/asxpio-services/runner.nix"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
|
|
@ -59,7 +47,6 @@
|
|||
{
|
||||
"description": "python-3.11 / python-3.12 labels stay on their minor line",
|
||||
"matchFileNames": [
|
||||
"ansible/roles/forgejo_runner/**",
|
||||
"nixos/hosts/asxpio-services/runner.nix"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
|
|
@ -70,7 +57,6 @@
|
|||
},
|
||||
{
|
||||
"matchFileNames": [
|
||||
"ansible/roles/forgejo_runner/**",
|
||||
"nixos/hosts/asxpio-services/runner.nix"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
|
|
@ -89,7 +75,6 @@
|
|||
{
|
||||
"description": "Both label files carry the same pins: one PR per image",
|
||||
"matchFileNames": [
|
||||
"ansible/roles/forgejo_runner/**",
|
||||
"nixos/hosts/asxpio-services/runner.nix"
|
||||
],
|
||||
"groupName": "runner job images",
|
||||
|
|
@ -104,7 +89,7 @@
|
|||
"nixos/nix"
|
||||
],
|
||||
"prBodyNotes": [
|
||||
"After merging, remove the old `nix-store-<old version>` volume on asxpio-services (see forgejo_runner.yaml)."
|
||||
"After merging, remove the old `nix-store-<old version>` volume on asxpio-services (see nixos/hosts/asxpio-services/runner.nix)."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue