crawler: use the tool's own flake instead of a copy of the script
All checks were successful
nixos / nixos (push) Successful in 21s
All checks were successful
nixos / nixos (push) Successful in 21s
crawler-alert.py was a byte-identical copy of the one in asxpi/traefik-crawlers-statistics. That repository now has a package and a NixOS module with the same three units and timers; iac takes it as a flake input and keeps only the settings. The package also puts dig on the script's path, which the Meta ASN check needs and lacked here. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
2cde6aafbb
commit
35bc42b01b
1 changed files with 39 additions and 938 deletions
22
nixos/flake.lock
generated
22
nixos/flake.lock
generated
|
|
@ -23,6 +23,27 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crawler-alert": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794902358,
|
||||
"narHash": "sha256-VuN9qQfr2WWeRrQm6J0MF+Gpj784dJRtS27ZOPbOGCM=",
|
||||
"ref": "main",
|
||||
"rev": "f1bfcccb326259778ca6d03c06523c093168e40e",
|
||||
"revCount": 9,
|
||||
"type": "git",
|
||||
"url": "https://git.asxp.io/asxpi/traefik-crawlers-statistics"
|
||||
},
|
||||
"original": {
|
||||
"ref": "main",
|
||||
"type": "git",
|
||||
"url": "https://git.asxp.io/asxpi/traefik-crawlers-statistics"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -74,6 +95,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"comin": "comin",
|
||||
"crawler-alert": "crawler-alert",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"sops-nix": "sops-nix"
|
||||
|
|
|
|||
Loading…
Reference in a new issue