I’m trying to migrate one of my builds to 2.0.
The build has a clone step of an external (and private) repository that contains some infra code for the build to execute.
Original circle.yml is working just fine:
dependencies: pre: - git clone firstname.lastname@example.org:OrgName/Repo.git ~/RepoLocation
In the new config.yml, I tried to do the same:
name: Download HSConfiguration
command: git clone email@example.com:Org/RepoName.git ~/RepoLocation
But for some reason I get a host unknown interactive command:
#!/bin/bash -eo pipefail
git clone firstname.lastname@example.org:Org/RepoName.git ~/RepoLocation
Cloning into ‘/home/circleci/RepoLocation’…
The authenticity of host ‘github.com (18.104.22.168)’ can’t be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? Step was canceled
Anyone has any thoughts about it?