From 0ce2ad154606f81bd729af9bbb1e2ea4c0a81b23 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sat, 26 Jul 2025 16:23:04 +0200 Subject: [PATCH] add debugging lines to CD pipeline to debug error `Could not open a connection to your authentication agent` --- .woodpecker/cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/cd.yaml b/.woodpecker/cd.yaml index 2547c54c..6974c48d 100644 --- a/.woodpecker/cd.yaml +++ b/.woodpecker/cd.yaml @@ -11,8 +11,9 @@ steps: env mkdir -p ~/.ssh echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519 + ls -l ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 - - nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && SHELL=$(which bash) nixops4 apply -v default' + - nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && ssh-agent -s && SHELL=$(which bash) nixops4 apply -v default' environment: CD_SSH_KEY: from_secret: cd_ssh_key