Commit Graph

72 Commits

Author SHA1 Message Date
Sandro Jäckel
fb0d661081
treewide: replace prefetch-yarn-deps with fixup-yarn-lock where necessary 2024-04-17 13:34:05 -04:00
emilylange
535fbe5571
grafana-agent: 0.40.3 -> 0.40.4
https://github.com/grafana/agent/releases/tag/v0.40.4

https://github.com/grafana/agent/blob/v0.40.4/CHANGELOG.md

diff: https://github.com/grafana/agent/compare/v0.40.3...v0.40.4
2024-04-12 17:10:19 +02:00
emilylange
5c4bfdd5d8
grafana-agent: 0.40.2 -> 0.40.3
Beginning with 0.40.3, grafana-agent now requires at least go 1.22 to build.

https://github.com/grafana/agent/releases/tag/v0.40.3

https://github.com/grafana/agent/blob/v0.40.3/CHANGELOG.md

diff: https://github.com/grafana/agent/compare/v0.40.2...v0.40.3
2024-03-15 03:18:37 +01:00
emilylange
3ab086e217
grafana-agent: 0.40.1 -> 0.40.2
https://github.com/grafana/agent/releases/tag/v0.40.2

https://github.com/grafana/agent/blob/v0.40.2/CHANGELOG.md

diff: https://github.com/grafana/agent/compare/v0.40.1...v0.40.2
2024-03-05 23:29:30 +01:00
emilylange
7807e3a953
grafana-agent: 0.40.0 -> 0.40.1
https://github.com/grafana/agent/releases/tag/v0.40.1

https://github.com/grafana/agent/blob/v0.40.1/CHANGELOG.md

diff: https://github.com/grafana/agent/compare/v0.40.0...v0.40.1
2024-03-01 01:58:07 +01:00
emilylange
2a515ecdc0
grafana-agent: 0.39.2 -> 0.40.0
https://github.com/grafana/agent/releases/tag/v0.40.0
https://github.com/grafana/agent/blob/v0.40.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.39.2...v0.40.0
2024-02-28 18:37:15 +01:00
emilylange
6dd5c9ee3f
grafana-agent: add passthru.updateScript
`nix-update` has support for `fetchYarnDeps` via the attribute name
`offlineCache`.

Our yarn FOD is called `frontendYarnOfflineCache`, which I find more
descriptive and would like to keep this way.

To work around this requirement, this adds an alias in `passthru`.

The addition of `passthru.updateScript` also allows `nixpkgs-update` to
update this package when the yarn FOD hash needs to be updated.

See the following error from the last `nixpkgs-update` run:
https://r.ryantm.com/log/grafana-agent/2024-02-27.log
2024-02-28 18:22:34 +01:00
R. Ryantm
bb6e397a6a grafana-agent: 0.39.1 -> 0.39.2 2024-02-01 04:55:36 +00:00
R. Ryantm
3556386b5a grafana-agent: 0.39.0 -> 0.39.1 2024-01-20 07:00:30 +00:00
R. Ryantm
a33f981931 grafana-agent: 0.38.1 -> 0.39.0 2024-01-09 19:03:32 +00:00
emilylange
b8617c69c0
grafana-agent: 0.38.0 -> 0.38.1
https://github.com/grafana/agent/releases/tag/v0.38.1
https://github.com/grafana/agent/blob/v0.38.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.38.0...v0.38.1

Fixes CVE-2023-47108.
2023-12-02 23:42:04 +01:00
Nick Cao
8e48a57b5b
Merge pull request #269865 from Stunkymonkey/grafana-agent-migrate-prefetch-yarn-deps
grafana-agent: migrate to prefetch-yarn-deps
2023-11-25 09:33:04 -05:00
Felix Buehler
dd6c677c4d grafana-agent: migrate to prefetch-yarn-deps 2023-11-25 13:09:01 +01:00
emilylange
4beadb0c19
grafana-agent: 0.37.4 -> 0.38.0
https://github.com/grafana/agent/releases/tag/v0.38.0
https://github.com/grafana/agent/blob/v0.38.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.4...v0.38.0
2023-11-22 17:26:03 +01:00
R. Ryantm
08ce0d8880 grafana-agent: 0.37.3 -> 0.37.4 2023-11-07 16:14:30 +00:00
emilylange
b9474c24a4
grafana-agent: 0.37.2 -> 0.37.3
https://github.com/grafana/agent/releases/tag/v0.37.3
https://github.com/grafana/agent/blob/v0.37.3/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.2...v0.37.3
2023-10-27 19:33:06 +02:00
emilylange
24ed484401
grafana-agent: 0.37.1 -> 0.37.2
https://github.com/grafana/agent/releases/tag/v0.37.2
https://github.com/grafana/agent/blob/v0.37.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.1...v0.37.2
2023-10-18 21:39:38 +02:00
emilylange
101d8a8f8e
grafana-agent: 0.36.2 -> 0.37.1
https://github.com/grafana/agent/releases/tag/v0.37.0
https://github.com/grafana/agent/blob/v0.37.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.2...v0.37.0

https://github.com/grafana/agent/releases/tag/v0.37.1
https://github.com/grafana/agent/blob/v0.37.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.37.0...v0.37.1

grafana-agent, starting with 0.37.0, requires go >= 1.21.
In nixpkgs (unstable), `buildGoModule` still refers to
`buildGo120Module`. Which, as the name suggests, uses go 1.20, and thus
does not meet the requirement, so we have to manually override it in
`all-packages.nix`.

This override can be dropped very soon again, as commit
2598cb64c1 titled
`go, buildGoModule, buildGoPackage: default to 1.21` is already in
`staging-next` and will land in `master` soon.
2023-10-11 17:58:28 +02:00
emilylange
a572ece5d1
grafana-agent: 0.36.1 -> 0.36.2
https://github.com/grafana/agent/releases/tag/v0.36.2
https://github.com/grafana/agent/blob/v0.36.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.1...v0.36.2
2023-09-22 17:39:47 +02:00
emilylange
1b52b0b5b5
grafana-agent: 0.36.0 -> 0.36.1
https://github.com/grafana/agent/releases/tag/v0.36.1
https://github.com/grafana/agent/blob/v0.36.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.36.0...v0.36.1
2023-09-06 21:15:07 +02:00
emilylange
1aecfb2564
grafana-agent: 0.35.4 -> 0.36.0
https://github.com/grafana/agent/releases/tag/v0.36.0
https://github.com/grafana/agent/blob/v0.36.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.4...v0.36.0
2023-08-30 16:01:09 +02:00
emilylange
9bf8e19e02
grafana-agent: fix building of go-modules.drv from scratch
Unbreaks building the go-modules.drv from source (read: not substituted
from cache.nixos.org).

Regression from cc4dcc08be
2023-08-30 15:54:34 +02:00
Florian Klink
88c10505ee
Merge pull request #246853 from emilylange/grafana-agent-flow-assets
grafana-agent: build and embed flow mode web ui
2023-08-28 10:40:36 +03:00
emilylange
5c1bd056ba
grafana-agent: 0.35.3 -> 0.35.4
https://github.com/grafana/agent/releases/tag/v0.35.4
diff: https://github.com/grafana/agent/compare/v0.35.3...v0.35.4
2023-08-18 19:22:53 +02:00
emilylange
eec1488f88
grafana-agent: 0.35.2 -> 0.35.3
https://github.com/grafana/agent/releases/tag/v0.35.3
https://github.com/grafana/agent/blob/v0.35.3/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.2...v0.35.3
2023-08-11 23:25:42 +02:00
emilylange
cc4dcc08be
grafana-agent: build and embed flow mode web ui 2023-08-02 23:16:32 +02:00
Robert Hensing
4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00
emilylange
8c3e91278e
grafana-agent: 0.35.0 -> 0.35.2
https://github.com/grafana/agent/releases/tag/v0.35.1
https://github.com/grafana/agent/blob/v0.35.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.0...v0.35.1

https://github.com/grafana/agent/releases/tag/v0.35.2
https://github.com/grafana/agent/blob/v0.35.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.1...v0.35.2
2023-07-27 21:58:16 +02:00
emilylange
23c2d86124
grafana-agent: 0.34.3 -> 0.35.0
https://github.com/grafana/agent/releases/tag/v0.35.0
https://github.com/grafana/agent/blob/v0.35.0/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.34.3...v0.35.0
2023-07-19 15:41:08 +02:00
emilylange
82a2c346a0
grafana-agent: 0.34.2 -> 0.34.3
https://github.com/grafana/agent/blob/v0.34.3/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.3
diff: https://github.com/grafana/agent/compare/v0.34.2...v0.34.3
2023-06-29 12:21:56 +02:00
emilylange
fd6ec96311
grafana-agent: 0.34.1 -> 0.34.2
https://github.com/grafana/agent/releases/tag/v0.34.2
https://github.com/grafana/agent/blob/v0.34.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.34.1...v0.34.2
2023-06-21 18:53:47 +02:00
emilylange
20d9f44b8f
grafana-agent: add meta.changelog 2023-06-21 18:53:44 +02:00
emilylange
781052862d
grafana-agent: 0.34.0 -> 0.34.1
https://github.com/grafana/agent/blob/v0.34.1/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.1
diff: https://github.com/grafana/agent/compare/v0.34.0...v0.34.1
2023-06-13 07:52:02 +02:00
emilylange
4b951d921e
grafana-agent: 0.33.2 -> 0.34.0
https://github.com/grafana/agent/blob/v0.34.0/CHANGELOG.md
https://github.com/grafana/agent/releases/tag/v0.34.0
diff: https://github.com/grafana/agent/compare/v0.33.2...v0.34.0
2023-06-08 17:03:50 +02:00
emilylange
b0e7f7f5db
maintainers: rename indeednotjames to emilylange 2023-05-21 16:01:35 +02:00
IndeedNotJames
c513c4c27f
grafana-agent: 0.33.1 -> 0.33.2
https://github.com/grafana/agent/releases/tag/v0.33.2
https://github.com/grafana/agent/blob/v0.33.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.33.1...v0.33.2
2023-05-12 11:28:12 +02:00
IndeedNotJames
cbcafdc13b
grafana-agent: add version test 2023-05-01 20:10:49 +02:00
IndeedNotJames
ec38c9c76b
grafana-agent: 0.33.0 -> 0.33.1
https://github.com/grafana/agent/releases/tag/v0.33.1
https://github.com/grafana/agent/blob/v0.33.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.33.0...v0.33.1
2023-05-01 19:58:55 +02:00
R. Ryantm
c52120ae69 grafana-agent: 0.32.1 -> 0.33.0 2023-04-30 05:53:03 +00:00
IndeedNotJames
7275cfa79b
grafana-agent: add indeednotjames as maintainer 2023-04-13 10:43:02 +02:00
IndeedNotJames
bde538be9f
grafana-agent: remove obsolete test fix in preBuild hook
as `node_exporter_test.go` does no longer need access to `/sys`
2023-04-13 10:43:02 +02:00
IndeedNotJames
4b9e3868eb
grafana-agent: 0.30.2 -> 0.32.1
breaking: 0.31.0 renamed the binaries from `agent` and `agentctl` to `grafana-agent` and `grafana-agentctl`

A follow-up commit patches `services.grafana-agent` to use `lib.getExe` instead of a hardcoded `/bin/agent`.

This version bump will break `services.grafana-agent.package` on 22.11 when `cfg.package` is coming from unstable

https://github.com/grafana/agent/releases/tag/v0.32.1
https://github.com/grafana/agent/releases/tag/v0.32.0
https://github.com/grafana/agent/releases/tag/v0.31.3
https://github.com/grafana/agent/releases/tag/v0.31.2
https://github.com/grafana/agent/releases/tag/v0.31.1
https://github.com/grafana/agent/releases/tag/v0.31.0
diff: https://github.com/grafana/agent/compare/v0.30.2...v0.32.1
2023-04-13 10:43:01 +02:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Weijia Wang
02c31e18ee
Merge pull request #204995 from CathalMullan/master
grafana-agent: add Darwin support
2023-02-02 07:15:04 +01:00
R. Ryantm
d375babda1 grafana-agent: 0.30.1 -> 0.30.2 2023-01-14 03:22:04 +00:00
Cathal Mullan
209611b2e1
grafana-agent: add Darwin support 2023-01-09 20:15:32 +00:00
Jörg Thalheim
4fc372eaee grafana-agent: 0.29.0 -> 0.30.1
Diff: https://github.com/grafana/agent/compare/v0.29.0...v0.30.1
2022-12-23 17:18:12 +01:00
Jörg Thalheim
3e5b243639 grafana-agent: disable ebpf
at the moment the used go-epbf version not compatible with our bcc version.
2022-12-04 16:08:19 +01:00
R. Ryantm
01acd9b50b grafana-agent: 0.28.1 -> 0.29.0 2022-11-08 23:13:23 +00:00