about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-06-03T13·31+0300
committerclbot <clbot@tvl.fyi>2023-06-03T13·47+0000
commited159e3a1de68e6b1bc6e059a10d9015b22e12be (patch)
tree553e12e3cba91de9f1e1b702d510cb57ce1a2d03
parent26fed6175008577bc05b23698e89fab841df8f80 (diff)
feat(nix/buildkite): add step key to release steps r/6228
This uses the same logic ("sha1sum of label") as already used in the
"build" chunks.

Fixes https://b.tvl.fyi/issues/276.

Change-Id: I76e59a141bd05f7d1d997a6471ea65e8cc7b4c2a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8707
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--nix/buildkite/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix
index 98f7dfbac05f..5b9aa222ac4a 100644
--- a/nix/buildkite/default.nix
+++ b/nix/buildkite/default.nix
@@ -405,6 +405,7 @@ rec {
   mkExtraStep = buildEnabled: cfg:
     let
       step = {
+        key = hashString "sha1" cfg.label;
         label = ":gear: ${cfg.label} (from ${cfg.parentLabel})";
         skip =
           let