mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ci: Label 10.rebuild-*-stdenv (#369102)
Currently ofborg does this, but there is actually no real reason this shouldn't be done by CI
This commit is contained in:
parent
344c99f7bf
commit
6d96c9a21e
1 changed files with 6 additions and 1 deletions
|
@ -96,7 +96,12 @@ let
|
||||||
rebuildsByKernel
|
rebuildsByKernel
|
||||||
rebuildCountByKernel
|
rebuildCountByKernel
|
||||||
;
|
;
|
||||||
labels = getLabels rebuildCountByKernel;
|
labels =
|
||||||
|
(getLabels rebuildCountByKernel)
|
||||||
|
# Adds "10.rebuild-*-stdenv" label if the "stdenv" attribute was changed
|
||||||
|
++ lib.mapAttrsToList (kernel: _: "10.rebuild-${kernel}-stdenv") (
|
||||||
|
lib.filterAttrs (_: kernelRebuilds: kernelRebuilds ? "stdenv") rebuildsByKernel
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue