mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
grafana-agent: 0.15.0 -> 0.16.1
This commit is contained in:
parent
70122271d7
commit
420cc96e39
@ -2,16 +2,21 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "grafana-agent";
|
pname = "grafana-agent";
|
||||||
version = "0.15.0";
|
version = "0.16.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "agent";
|
repo = "agent";
|
||||||
sha256 = "sha256-mRDd9G/VMbDwp/GYPoUE0v9j+BmUd08wOMJjgcg2qdo=";
|
sha256 = "0kqbn6fqlrxjqdkkhbr7qmm2m05a7dlskfdb7y4gr5ggi65m6ik5";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-sQFWdBOjfYb1e7ZzHGgtgnuEQCU4xnkJTyzC/9DRcYs=";
|
vendorSha256 = "0xi69a1zkcmi5q8m7lfwp3xb4cbkwc2dzqm24lfqsq13xj5jq6ph";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/grafana/agent/issues/731
|
||||||
|
./skip_test_requiring_network.patch
|
||||||
|
];
|
||||||
|
|
||||||
# uses go-systemd, which uses libsystemd headers
|
# uses go-systemd, which uses libsystemd headers
|
||||||
# https://github.com/coreos/go-systemd/issues/351
|
# https://github.com/coreos/go-systemd/issues/351
|
||||||
|
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/pkg/operator/selector_eventhandler_test.go b/pkg/operator/selector_eventhandler_test.go
|
||||||
|
index 7b6ec602..e79bae0e 100644
|
||||||
|
--- a/pkg/operator/selector_eventhandler_test.go
|
||||||
|
+++ b/pkg/operator/selector_eventhandler_test.go
|
||||||
|
@@ -39,6 +39,10 @@ var (
|
||||||
|
// TestEnqueueRequestForSelector creates an example Kubenretes cluster and runs
|
||||||
|
// EnqueueRequestForSelector to validate it works.
|
||||||
|
func TestEnqueueRequestForSelector(t *testing.T) {
|
||||||
|
+ // Requires network access, which is not available during
|
||||||
|
+ // the nixpkgs sandboxed build
|
||||||
|
+ t.Skip()
|
||||||
|
+
|
||||||
|
l := log.NewNopLogger()
|
||||||
|
|
||||||
|
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
|
Loading…
Reference in New Issue
Block a user