54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"qualityThreshold": 80,
|
|
"testCoverage": {
|
|
"minimum": 0,
|
|
"rationale": "NixOS configuration repository without a coverage-producing test suite."
|
|
},
|
|
"formatting": [
|
|
{
|
|
"name": "alejandra",
|
|
"command": "alejandra .",
|
|
"ciCommand": "alejandra --check ."
|
|
}
|
|
],
|
|
"linting": [
|
|
{
|
|
"name": "statix",
|
|
"command": "statix check ."
|
|
},
|
|
{
|
|
"name": "deadnix",
|
|
"command": "deadnix . --fail"
|
|
}
|
|
],
|
|
"evaluation": [
|
|
{
|
|
"name": "flake outputs",
|
|
"command": "nix flake show"
|
|
},
|
|
{
|
|
"name": "affected host dry-run",
|
|
"command": "sudo nixos-rebuild dry-run --flake .#<host>",
|
|
"when": "Run for affected hosts when practical and safe."
|
|
}
|
|
],
|
|
"commitChecks": [
|
|
"alejandra .",
|
|
"statix check .",
|
|
"deadnix . --fail",
|
|
"nix flake show"
|
|
],
|
|
"deployGates": [
|
|
"formatting passes",
|
|
"linting passes",
|
|
"flake outputs evaluate",
|
|
"affected host dry-run succeeds",
|
|
"secrets are encrypted and host secret modules remain aligned"
|
|
],
|
|
"cicdIntegrationPoints": [],
|
|
"cicd": {
|
|
"enabled": false,
|
|
"notes": "No CI/CD integration is currently configured. Add Gitea Actions later if automated Babysitter or Nix validation is desired."
|
|
}
|
|
}
|