From e19e3ff1b85e8bf7ac398f6b12b94cf1d160456b Mon Sep 17 00:00:00 2001 From: Robert Rosca <robert.rosca@xfel.eu> Date: Thu, 25 Feb 2021 15:13:03 +0100 Subject: [PATCH] Fix typo --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca08d60df..3b96a19a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ pytest: # Our self-hosted runners have persistent home directories, so here we store # the known_hosts file in the temporary project dir and tell git to use a ssh # command that uses this hosts file during operations - - export GIT_SSH_COMMAND="ssh UserKnownHostsFile=$CI_PROJECT_DIR/.ssh/known_hosts" + - export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=$CI_PROJECT_DIR/.ssh/known_hosts" - mkdir -p $CI_PROJECT_DIR/.ssh - chmod 700 $CI_PROJECT_DIR/.ssh - ssh-keyscan -p 10022 git.xfel.eu > $CI_PROJECT_DIR/.ssh/known_hosts -- GitLab