Merge pull request #356 from ryantm/revert-343-rtm0804decryptparallel
Some checks failed
CI / tests-linux (push) Has been cancelled
CI / tests-darwin (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

Revert "decrypt-parallel"
This commit is contained in:
Nathan Henrie 2025-11-08 09:12:14 -07:00 committed by GitHub
commit fcdea22339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,6 @@ let
''; '';
installSecret = secretType: '' installSecret = secretType: ''
(
${setTruePath secretType} ${setTruePath secretType}
echo "decrypting '${secretType.file}' to '$_truePath'..." echo "decrypting '${secretType.file}' to '$_truePath'..."
TMP_FILE="$_truePath.tmp" TMP_FILE="$_truePath.tmp"
@ -99,7 +98,6 @@ let
${optionalString secretType.symlink '' ${optionalString secretType.symlink ''
[ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}" [ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}"
''} ''}
) &
''; '';
testIdentities = map (path: '' testIdentities = map (path: ''
@ -122,7 +120,6 @@ let
[ "echo '[agenix] decrypting secrets...'" ] [ "echo '[agenix] decrypting secrets...'" ]
++ testIdentities ++ testIdentities
++ (map installSecret (builtins.attrValues cfg.secrets)) ++ (map installSecret (builtins.attrValues cfg.secrets))
++ [ "wait" ]
++ [ cleanupAndLink ] ++ [ cleanupAndLink ]
); );