0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 16:40:32 +03:00
Commit graph

21 commits

Author SHA1 Message Date
zowoq
90a94678de ci/eval: restore 501+ label
(cherry picked from commit b94f270650)
2025-01-24 15:06:01 +00:00
Peder Bergebakken Sundt
29623dc5c2 ci/eval: support "10.rebuild-${kernel}: 1" labels
This should restore the old behavior of ofborg

(cherry picked from commit a226f13211)
2025-01-20 13:38:51 +00:00
Silvan Mosberger
0916ec48fb workflows/eval: Use maintainer GitHub IDs for review requests of changed packages
The handles can change over time and there's nothing guaranteeing the
ones in the maintainer list are up-to-date. In comparison GitHub IDs
never change.

(cherry picked from commit b844cba4e6)
2025-01-03 20:30:51 +00:00
Silvan Mosberger
db45da12a8 workflows/eval: Request reviews from changed package maintainers
Currently we need to rely on ofborg requesting reviews from package
maintainers, which takes a while with ofborg's eval queue. Since
recently we're doing faster evaluations with GitHub Actions, which contain all
necessary information to determine reviewers of changed packages the
same way ofborg does. This PR takes advantage of that.

(cherry picked from commit b9d800d468)
2025-01-03 20:30:51 +00:00
Janne Heß
db5a0ad774
ci: Label 10.rebuild-*-stdenv (#369102)
Currently ofborg does this, but there is actually no real reason this
shouldn't be done by CI

(cherry picked from commit 6d96c9a21e)
2025-01-01 04:35:47 -05:00
Jörg Thalheim
bb3bf66877
ci/eval/compare: truncate step summary to 1024k
(cherry picked from commit 44dc31e676)
2025-01-01 04:35:46 -05:00
Silvan Mosberger
7f0d2b1b45
ci/eval: Avoid noise for failing attribute evals
It's currently annoying to see the actual failure in the attrs step,
because `time -v` displays like 20 lines, which get repeated, therefore
requiring you to scroll up most of the time:
https://github.com/NixOS/nixpkgs/actions/runs/12290298121/job/34297218345#step:5:794

This commit fixes that by only displaying the most important stats, the
same ones as the chunked system-specific evals.

(cherry picked from commit bd5c93ca3d)
2025-01-01 04:35:45 -05:00
Gaetan Lepage
c1553b513e
ci/eval: allow precisely choosing which systems to evaluate for (evalSystem -> evalSystems)
(cherry picked from commit 6eadbf9c97)
2025-01-01 04:35:45 -05:00
Gaetan Lepage
e88b48d259
ci/eval: add rebuildsByPlatform to the comparison result
(cherry picked from commit 518ae8fd58)
2025-01-01 04:35:44 -05:00
Gaetan Lepage
ff9bb621de
ci/eval: fix compare label assignment
(cherry picked from commit 214cb79aa6)
2025-01-01 04:35:44 -05:00
Gaetan Lepage
3f4f84fdc7
ci/eval: re-implement compare in nix
(cherry picked from commit f94b4bd945)
2025-01-01 04:35:44 -05:00
Jörg Thalheim
0952756344
[release-24.11] GitHub Action eval backports (#361168) 2024-12-03 07:29:28 +01:00
Silvan Mosberger
d7ba9d09cb ci/eval: Also count added packages as rebuilds
This is also what ofborg does

(cherry picked from commit 449314825e)
2024-12-02 20:59:06 +00:00
Jörg Thalheim
7ea19651d6 github/workflows/eval: add nixos package search links and wrap sections in a summary list
(cherry picked from commit 006691de3c)
2024-12-02 19:06:24 +01:00
Jörg Thalheim
bd1bcde2ec github/workflows/eval: limit number of packages in markdown
(cherry picked from commit 8b7ed6e105)
2024-12-02 19:06:19 +01:00
Noa Aarts
432bc2ceac github/workflows/eval: add markdown of added, removed and changed
(cherry picked from commit 0e27bc3f9e)
2024-12-02 19:06:14 +01:00
Jörg Thalheim
e4e9f713cb ci/eval: don't allow IFD
(cherry picked from commit 5978e7fa2f)
2024-12-02 19:05:48 +01:00
Jörg Thalheim
8ea3a59601 ci: use nix 2.24
(cherry picked from commit d65d18f1e4)
2024-12-02 19:05:42 +01:00
Wolfgang Walther
8265d51a3c ci: fix GHA's rebuild-xxx: 5001+ labels
(cherry picked from commit a06822cabf)
2024-12-01 19:44:00 +00:00
Silvan Mosberger
8b4d5bc0bb workflows/eval.yml: Run on dev branch pushes and apply rebuild labels
(cherry picked from commit af1aa40e73)
2024-11-29 23:33:43 +00:00
Silvan Mosberger
cb77c97eb2 Parallel GH actions workflow for Nixpkgs eval
Motivated by ofborg struggling [1] and its evaluations taking too long,
inspired by Jörg's initial PR [2]
and Adam's previous attempt to parallelise Nixpkgs evaluation [3],
this PR contains initial work to relief ofborg from its evaluation duty
by using GitHub Actions to evaluate Nixpkgs.

For now this doesn't take care of all of what ofborg does, such as
requesting appropriate reviewers or labeling mass rebuilds, but this can
be follow-up work.

[1]: https://discourse.nixos.org/t/infrastructure-announcement-the-future-of-ofborg-your-help-needed/56025?u=infinisil
[2]: https://github.com/NixOS/nixpkgs/pull/352808
[3]: https://github.com/NixOS/nixpkgs/pull/269403

Co-Authored-By: Jörg Thalheim <joerg@thalheim.io>
Co-Authored-By: Adam Joseph <adam@westernsemico.com>
(cherry picked from commit fbbe972898)
2024-11-20 20:24:27 +00:00