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

Reviewed-on: #202
This commit is contained in:
teutat3s 2023-03-08 13:49:58 +01:00
commit 3f9b0f9a3b
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -34,12 +34,13 @@ steps:
- mkdir $$HOME/.ssh && chmod 700 $$HOME/.ssh
- echo "$$PRIVATE_SSH_KEY" > $$HOME/.ssh/id_ed25519 && chmod 600 $$HOME/.ssh/id_ed25519
- echo "$$SSH_HOST_KEY" > $$HOME/.ssh/known_hosts
- export $$SSHOPTS
- echo DEBUG env
- env
- echo DEBUG ls -alh $$HOME/.ssh
- ls -alh $$HOME/.ssh
- "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
@ -165,6 +166,6 @@ volumes:
---
kind: signature
hmac: 42b34b2493c918bc79eeb8bbb8eaa5480539a07cb0bd0f98b3affdefb3eed00b
hmac: 8a69d4de3b049877a17f6a6f5a336943057139472028343283d3e570760e8bcd
...