Merge pull request 'ci: debug Host key verification failed error' (#203) from momo/ci-deployment-known-hosts into momo/main

Reviewed-on: pub-solar/os#203
This commit is contained in:
teutat3s 2023-03-08 13:55:32 +01:00
commit f6708d252e
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -34,13 +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
- export SSHOPTS="$$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
@ -166,6 +166,6 @@ volumes:
---
kind: signature
hmac: 8a69d4de3b049877a17f6a6f5a336943057139472028343283d3e570760e8bcd
hmac: bab6b28f9246366499ef7914aa84c8868321565330a8923b893f786e6c0db203
...