Reputation: 29078
While trying to build a project in CircleCI I got the below error:
Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI's native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed. Cloning git repository
error cloning repository: repository not found
And this causes the build to fail.
Upvotes: 2
Views: 1658
Reputation: 29078
Here's how I solved it:
The issue was that the engineer who set up the project set a Deploy Key and User Key specific to him left the company, so his access to the company GitHub repo projects was revoked, which made the existing Deploy Key and User Key for the project in Circle CI obsolete.
All I had to do was to:
After this, I was able to build the project successfully in Circle CI
Upvotes: 3