add debugging lines to CD pipeline to debug error Could not open a connection to your authentication agent
Some checks failed
ci/woodpecker/manual/check-pre-commit Pipeline is pending
ci/woodpecker/manual/update Pipeline is pending
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/check-deployment-basic Pipeline is running
ci/woodpecker/manual/check-data-model Pipeline was successful
ci/woodpecker/manual/check-deployment-cli Pipeline is running
ci/woodpecker/manual/check-deployment-panel Pipeline is running
ci/woodpecker/manual/check-mastodon Pipeline is running
ci/woodpecker/manual/check-panel Pipeline is running
ci/woodpecker/manual/check-peertube Pipeline is running

This commit is contained in:
Kiara Grouwstra 2025-07-26 16:23:04 +02:00
parent 4df2ba9be7
commit a8797bc1b4
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -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