diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index cb659e879878..948c86833ae6 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1492,7 +1492,7 @@ in teleports = runTest ./teleports.nix; thelounge = handleTest ./thelounge.nix { }; terminal-emulators = handleTest ./terminal-emulators.nix { }; - thanos = handleTest ./thanos.nix { }; + thanos = runTest ./thanos.nix; tiddlywiki = runTest ./tiddlywiki.nix; tigervnc = handleTest ./tigervnc.nix { }; tika = runTest ./tika.nix; diff --git a/nixos/tests/thanos.nix b/nixos/tests/thanos.nix index c0c10854e73f..caadfaa37c2c 100644 --- a/nixos/tests/thanos.nix +++ b/nixos/tests/thanos.nix @@ -1,3 +1,5 @@ +{ ... }: + let grpcPort = 19090; queryPort = 9090; @@ -30,10 +32,9 @@ let }; }; }; - in -import ./make-test-python.nix { - name = "prometheus"; +{ + name = "thanos"; nodes = { prometheus = diff --git a/pkgs/by-name/th/thanos/package.nix b/pkgs/by-name/th/thanos/package.nix index c3122f919545..0e1205299f84 100644 --- a/pkgs/by-name/th/thanos/package.nix +++ b/pkgs/by-name/th/thanos/package.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "thanos"; - version = "0.38.0"; + version = "0.39.2"; src = fetchFromGitHub { owner = "thanos-io"; repo = "thanos"; tag = "v${version}"; - hash = "sha256-3rNtiVTrA+MoCVuTSLIzh65U0kjA86EF+bQCyfVa6rA="; + hash = "sha256-yKw+HGlqEgQmydZ+PIk5y/z5H57nZ0dtw/kEh8079Ws="; }; - vendorHash = "sha256-Z/S4mVg+VbP8hNVB1xz1uGWR6N/1aTA0DqTHbntGMLg="; + vendorHash = "sha256-6qTxCAD1hbS77erG1Z52JU2iOXAU+qtY3yivX+4bjlw="; subPackages = "cmd/thanos";