mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #284676 from r-ryantm/auto-update/exportarr
This commit is contained in:
commit
540cdedf5d
@ -257,21 +257,6 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
exportarr-sonarr = {
|
||||
nodeName = "exportarr_sonarr";
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
url = "http://127.0.0.1:8989";
|
||||
# testing for real data is tricky, because the api key can not be preconfigured
|
||||
apiKeyFile = pkgs.writeText "dummy-api-key" "eccff6a992bc2e4b88e46d064b26bb4e";
|
||||
};
|
||||
exporterTest = ''
|
||||
wait_for_unit("prometheus-exportarr-sonarr-exporter.service")
|
||||
wait_for_open_port(9707)
|
||||
succeed("curl -sSf 'http://localhost:9707/metrics")
|
||||
'';
|
||||
};
|
||||
|
||||
fastly = {
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "exportarr";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "onedr0p";
|
||||
repo = "exportarr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jmvVhNaE0cVLHTLH6qKIi4ETr7Q8CTEhXPwzjWyfx5k=";
|
||||
hash = "sha256-i5ia9GX/0wvLnIwSxZ50y3fTFHwkUzj00+NoEceXp84=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-AYuyOAU7T9YluX77zPu4o377L4wCQzVUrQunt0UIZlU=";
|
||||
vendorHash = "sha256-2gzHX7XHzgvZXWm7mfakxnsRfpEysQwnZ0mJocLyyoA=";
|
||||
|
||||
subPackages = [ "cmd/exportarr" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user