ci: debug Host key verification failed error #203

Merged
teutat3s merged 1 commit from momo/ci-deployment-known-hosts into momo/main 2023-03-08 12:55:32 +00:00

View file

@ -34,13 +34,13 @@ steps:
- mkdir $$HOME/.ssh && chmod 700 $$HOME/.ssh - mkdir $$HOME/.ssh && chmod 700 $$HOME/.ssh
- echo "$$PRIVATE_SSH_KEY" > $$HOME/.ssh/id_ed25519 && chmod 600 $$HOME/.ssh/id_ed25519 - echo "$$PRIVATE_SSH_KEY" > $$HOME/.ssh/id_ed25519 && chmod 600 $$HOME/.ssh/id_ed25519
- echo "$$SSH_HOST_KEY" > $$HOME/.ssh/known_hosts - echo "$$SSH_HOST_KEY" > $$HOME/.ssh/known_hosts
- export $$SSHOPTS - export SSHOPTS="$$SSHOPTS"
- echo DEBUG env - echo DEBUG env
- env - env
- echo DEBUG ls -alh $$HOME/.ssh - echo DEBUG ls -alh $$HOME/.ssh
- ls -alh $$HOME/.ssh - ls -alh $$HOME/.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="$SSHOPTS" - nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts="$$SSHOPTS"
--- ---
kind: pipeline kind: pipeline
@ -166,6 +166,6 @@ volumes:
--- ---
kind: signature kind: signature
hmac: 8a69d4de3b049877a17f6a6f5a336943057139472028343283d3e570760e8bcd hmac: bab6b28f9246366499ef7914aa84c8868321565330a8923b893f786e6c0db203
... ...