ci: debug Host key verification failed error #202

Merged
teutat3s merged 1 commit from momo/ci-deployment-known-hosts into momo/main 2023-03-08 12:49:59 +00:00
Showing only changes of commit 09cdf6c390 - Show all commits

View file

@ -34,12 +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
- 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
@ -165,6 +166,6 @@ volumes:
--- ---
kind: signature kind: signature
hmac: 42b34b2493c918bc79eeb8bbb8eaa5480539a07cb0bd0f98b3affdefb3eed00b hmac: 8a69d4de3b049877a17f6a6f5a336943057139472028343283d3e570760e8bcd
... ...