From f5407e66d54a3b5d128fe545fb0c82307a4c2742 Mon Sep 17 00:00:00 2001 From: Max Weiss Date: Thu, 29 Apr 2021 15:09:33 -0700 Subject: [PATCH] Test BuildBot tag push with ssh host key checking disabled --- buildbot/buildbot_steps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot/buildbot_steps.sh b/buildbot/buildbot_steps.sh index bfa77be..0da0be9 100755 --- a/buildbot/buildbot_steps.sh +++ b/buildbot/buildbot_steps.sh @@ -175,7 +175,7 @@ function tag_head_and_push() { fi git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2 - git push --tags origin master + env GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push --tags origin master if [ $? -ne 0 ]; then >&2 echo 'Error during attempted git push of new tag' return 3