Skip to content

Commit

Permalink
grafana-agent: 0.21.2 -> 0.24.1 (#169558)
Browse files Browse the repository at this point in the history
We can skip our little patch. The file was removed in
grafana/agent#1362, which includes
grafana/agent#1268.

The condition to exempt network tests was inverted as part of these PRs,
so we now need to set GOFLAGS explicitly to exclude tests that can't run
inside the Nix sandbox.
  • Loading branch information
flokli committed Apr 21, 2022
1 parent b06d35b commit 1635fb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
12 changes: 6 additions & 6 deletions pkgs/servers/monitoring/grafana-agent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

buildGoModule rec {
pname = "grafana-agent";
version = "0.21.2";
version = "0.24.1";

src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "agent";
sha256 = "sha256-s++21feD3L2HuVYFjWhNIOGTjjX+lXwURc4PqbwFnhI=";
sha256 = "sha256-WxULVtqKxYXMWNY4l0wvTkqcDkPrlHcS70NgQhe8nzU=";
};

vendorSha256 = "sha256-kxLtbElzfimC/ZefUyTlfQiUZo4y0f1riajRm5shVdU=";
vendorSha256 = "sha256-hdo8uiVJAMMPo1N8kLDFPSbyTr5WxNKtq8E7pj6Plak=";

patches = [
# https://github.com/grafana/agent/issues/731
./skip_test_requiring_network.patch
tags = [
"nonetwork"
"nodocker"
];

# uses go-systemd, which uses libsystemd headers
Expand Down

This file was deleted.

0 comments on commit 1635fb3

Please sign in to comment.