Merge pull request 'ci: debug Host key verification failed error' (#197) from momo/ci-deployment-known-hosts into momo/main
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: #197
This commit is contained in:
teutat3s 2023-03-08 12:26:33 +01:00
commit 420a201f70
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -32,6 +32,10 @@ steps:
- "mkdir ~/.ssh && chmod 700 ~/.ssh" - "mkdir ~/.ssh && chmod 700 ~/.ssh"
- echo "$$PRIVATE_SSH_KEY" > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519 - echo "$$PRIVATE_SSH_KEY" > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
- echo "$$SSH_HOST_KEY" > ~/.ssh/known_hosts - echo "$$SSH_HOST_KEY" > ~/.ssh/known_hosts
- echo DEBUG env
- env
- echo DEBUG ls -alh ~/.ssh
- ls -alh ~/.ssh
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS' - 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
- nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts='-v' - nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts='-v'
@ -159,6 +163,6 @@ volumes:
--- ---
kind: signature kind: signature
hmac: 89c7757736896b56f4ffe01fe14b47fe8606a99c326e31c57863d1836901c087 hmac: b51c074c744543cdd1596025708b7a79203038b948bedcca553644d7631d7833
... ...