From c3135a6be892074ab28dfba5cdbf802073f10b3f Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sat, 19 Oct 2024 21:25:15 +0200 Subject: [PATCH] fixup! WIP: feat(buildbot-nix): configure postBuildSteps to sign and upload to holo's cache --- .../nixosConfigurations.buildbot-nix-0/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/flake-parts/nixosConfigurations.buildbot-nix-0/configuration.nix b/modules/flake-parts/nixosConfigurations.buildbot-nix-0/configuration.nix index 221e62a..5449f0d 100644 --- a/modules/flake-parts/nixosConfigurations.buildbot-nix-0/configuration.nix +++ b/modules/flake-parts/nixosConfigurations.buildbot-nix-0/configuration.nix @@ -332,9 +332,13 @@ command = [ (builtins.toString ( pkgs.writeShellScript "sign-and-upload" '' - set -eEu -o pipefail + set -Eu -o pipefail + + ls -lha ''${SECRET_cache.holo.host-2-public} + cat ''${SECRET_cache.holo.host-2-public} - ls -lha $CREDENTIALS_DIRECTORY + echo ''${SECRET_cache.holo.host-2-public} > public-key + cat public-key if [[ "$PROP_owners" = "['steveej']" ]]; then echo only steveej owns this change.