From db5a0ad7746e5d07aafa4a262ff1bf49858a4a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Mon, 30 Dec 2024 20:01:31 +0100 Subject: [PATCH] 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 6d96c9a21e56eefbf7d6e9890fa2905daad5c1be) --- ci/eval/compare/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/eval/compare/default.nix b/ci/eval/compare/default.nix index 4f3b943a5a135..cfcdd3c1a217c 100644 --- a/ci/eval/compare/default.nix +++ b/ci/eval/compare/default.nix @@ -96,7 +96,12 @@ let rebuildsByKernel 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