Commit Graph

81 Commits

Author SHA1 Message Date
K900
82836350f7 grafana-agent: pin to Go 1.22
Why. No. Bad.
2024-10-02 13:05:22 +03:00
emilylange
ea2b16bfe3
grafana-agent: 0.43.0 -> 0.43.3
They skipped 0.43.1 for whatever reason.

https://github.com/grafana/agent/releases/tag/v0.43.3
https://github.com/grafana/agent/releases/tag/v0.43.2

diff: https://github.com/grafana/agent/compare/v0.43.0...v0.43.3
2024-09-27 21:19:35 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
emilylange
3e49c02689
grafana-agent: 0.42.0 -> 0.43.0
https://github.com/grafana/agent/releases/tag/v0.43.0

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

diff: https://github.com/grafana/agent/compare/v0.42.0...v0.43.0
2024-09-13 13:31:39 +02:00
R. Ryantm
e787df99a3 grafana-agent: 0.41.1 -> 0.42.0 2024-08-03 03:29:24 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
emilylange
e3e25fdfba
grafana-agent: 0.41.0 -> 0.41.1
https://github.com/grafana/agent/releases/tag/v0.41.1

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

diff: https://github.com/grafana/agent/compare/v0.41.0...v0.41.1
2024-06-07 20:16:50 +02:00
emilylange
54bcb9a02a
grafana-agent: 0.40.5 -> 0.41.0
Note: Upstream moved a few internal components into their own directory
including the flow web ui (./web/ui -> ./internal/web/ui).

Contains breaking changes.

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

diff: https://github.com/grafana/agent/compare/v0.40.5...v0.41.0
2024-06-02 22:41:44 +02:00
emilylange
3fcda50f63
grafana-agent: 0.40.4 -> 0.40.5
https://github.com/grafana/agent/releases/tag/v0.40.5

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

diff: https://github.com/grafana/agent/compare/v0.40.4...v0.40.5
2024-05-16 20:12:44 +02:00
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