[Backport release-24.05] grafana-agent: 0.40.5 -> 0.42.0 #333036
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Backport of:
All cherry-picks applied cleanly. Meaning the GitHub backport action would have worked, but also would have opened 3 PR instead of 1.
Note that both https://github.com/grafana/agent/releases/tag/v0.41.0 and https://github.com/grafana/agent/releases/tag/v0.41.1 had minor breaking changes.
0.42.0
(grafana-agent: 0.41.1 -> 0.42.0 #331906) to be backported due to the various security fixes in grafana-agent: 0.41.1 -> 0.42.0 #331906 (comment).0.41.1
(grafana-agent: 0.41.0 -> 0.41.1 #318063).Given how minor the breaking changes are in combination with the multiple requests to backport the many included security fixes, backporting should be fine.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)