feat(nix/buildkite): add step key to release steps

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
This commit is contained in:
Florian Klink 2023-06-03 16:31:02 +03:00 committed by clbot
parent 26fed61750
commit ed159e3a1d

View file

@ -405,6 +405,7 @@ rec {
mkExtraStep = buildEnabled: cfg: mkExtraStep = buildEnabled: cfg:
let let
step = { step = {
key = hashString "sha1" cfg.label;
label = ":gear: ${cfg.label} (from ${cfg.parentLabel})"; label = ":gear: ${cfg.label} (from ${cfg.parentLabel})";
skip = skip =
let let