mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
promscale: 0.6.2 -> 0.7.1
This commit is contained in:
parent
856f4cde2d
commit
1f8a8bd75a
@ -0,0 +1,17 @@
|
||||
|
||||
A Promscale test has a dependency on a package which was not intended to be
|
||||
vendored, so `go mod vendor` breaks. The dependency is not required to build
|
||||
Promscale, so it can be removed.
|
||||
|
||||
diff --git a/pkg/tests/end_to_end_tests/trace_query_integration_test.go b/pkg/tests/end_to_end_tests/trace_query_integration_test.go
|
||||
index 84a0d08..efbe5e1 100644
|
||||
--- a/pkg/tests/end_to_end_tests/trace_query_integration_test.go
|
||||
+++ b/pkg/tests/end_to_end_tests/trace_query_integration_test.go
|
||||
@@ -24,7 +24,6 @@ import (
|
||||
ingstr "github.com/timescale/promscale/pkg/pgmodel/ingestor"
|
||||
"github.com/timescale/promscale/pkg/pgxconn"
|
||||
|
||||
- jaegerQueryApp "github.com/jaegertracing/jaeger/cmd/query/app"
|
||||
jaegerQueryService "github.com/jaegertracing/jaeger/cmd/query/app/querysvc"
|
||||
jaegerJSONModel "github.com/jaegertracing/jaeger/model/json"
|
||||
)
|
@ -1,33 +1,35 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, promscale
|
||||
, testVersion
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "promscale";
|
||||
version = "0.6.2";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timescale";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-YGT+VaHX6dqYdJz002fGZxRYE3gFqY8Q7VdhtSTPpjU=";
|
||||
sha256 = "sha256-OMDl8RGFOMW+KNX2tNHusJY/6gLZxuWCI3c0E/oqrfE=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-o7vRSCEEqzhruHEnRPuxC1e4NzCl8Br4vvqg0pwGIgA=";
|
||||
patches = [
|
||||
./0001-remove-jaeger-test-dep.patch
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-IwHngKiQ+TangEj5PcdiGoLxQJrt/Y3EtbSYZYmfUOE=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/timescale/promscale/pkg/version.Version=${version}" "-X github.com/timescale/promscale/pkg/version.CommitHash=${src.rev}" ];
|
||||
|
||||
doCheck = false; # Requires access to a docker daemon
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
if [[ "$("$out/bin/${pname}" -version)" == "${version}" ]]; then
|
||||
echo '${pname} smoke check passed'
|
||||
else
|
||||
echo '${pname} smoke check failed'
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
package = promscale;
|
||||
command = "promscale -version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open-source analytical platform for Prometheus metrics";
|
@ -21358,7 +21358,7 @@ with pkgs;
|
||||
asciidoc = asciidoc-full;
|
||||
};
|
||||
|
||||
promscale = callPackage ../servers/monitoring/prometheus/promscale.nix { };
|
||||
promscale = callPackage ../servers/monitoring/prometheus/promscale { };
|
||||
|
||||
timescaledb-parallel-copy = callPackage ../development/tools/database/timescaledb-parallel-copy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user