We have been using CircleCI for CI on a couple of projects including a front-end web build running on a Node image on a Docker instance. All of a sudden, since yesterday afternoon our builds have been uniformly failing at the “Checkout code” step with this message (I’ve redacted internal names):
Directory (/home/circleci/org-name/project-name) you are trying to checkout to is not empty and not a git repository
Even commits that built successfully prior to yesterday afternoon now fail if re-run.
Our config looks like this. It had been updated recently to remove an old package manager, but our project had built successfully numerous times since that change.
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.4.0
jobs:
build:
working_directory: ~/org-name/project-name
docker:
- image: cimg/node:16.16-browsers
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- checkout
# edited to remove other steps not relevant to solution
We’ve tried a few things including an image with a newer version of Node to no avail. We also don’t see how the recent secrets issue would have anything to do with this. We can see the status page is green, but has there been any change on CircleCI’s end that might explain it?