I have a project linked to a private GitHub repository, for which I added a Deploy key to build on Linux.
Builds were running fine until I committed a minor change (definitely not impacting the build). The build “timed out” and hung at the “Checkout using deploy key” step.
The message I get is:
Warning: Permanently added 'github.com,188.8.131.52' (RSA) to the list of known hosts. command if [[ -e /home/ubuntu/reponame/.git ]]; then git fetch --force;else rm -rf /home/ubuntu/reponame mkdir /home/ubuntu/reponame cd /home/ubuntu/reponame git clone --quiet firstname.lastname@example.org:username/reponame.git . --config core.compression=9 --depth 10 --no-single-branch fi && true && git reset -q --hard commitsha && git checkout -q -B 'master' commitsha && git reset -q --hard commit_sha took more than 30 minutes to run git checkout cancelled
What I’ve tried so far:
- Removing the deploy key and creating a new one (repo side / circle side)
- Checking out at the working build commit and triggering a new build
- Clearing source / dependency cache
Any help would be appreciated.