+babysitter
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user