From 2a8924b53c9b18dd2e42d5ad4f0f18754bca19e4 Mon Sep 17 00:00:00 2001 From: Matthew Kent Date: Mon, 8 Jan 2024 13:32:34 -0800 Subject: [PATCH] Address Net::SSH::HostKeyMismatch seen locally between bin/test runs. --- test/integration/docker/deployer/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/docker/deployer/setup.sh b/test/integration/docker/deployer/setup.sh index 50af91bf..a2c9c6e8 100755 --- a/test/integration/docker/deployer/setup.sh +++ b/test/integration/docker/deployer/setup.sh @@ -21,3 +21,7 @@ install_kamal push_image_to_registry_4443 nginx 1-alpine-slim push_image_to_registry_4443 traefik v2.9 push_image_to_registry_4443 busybox 1.36.0 + +# .ssh is on a shared volume that persists between runs. Clean it up as the +# churn of temporary vm IPs can eventually create conflicts. +rm -f /root/.ssh/known_hosts