I'm deploying to CircleCI and but my code is timing out.
The command in particular that CircleCI is calling that's causing the time-out is during the checkout
stage:
git reset --hard SHA
Where SHA
is the hash of the build, but upon ssh'ing in I noted that HEAD
and others that I tried also run forever.
At that point the code has been checked out with:
git clone --quiet git@github.com:Organization/Repo.git . --config core.compression=9 --depth 10 --no-single-branch
Why would git reset --hard
run (seemingly) forever on the CircleCI environment, and what fixes are reasonably available?
More details (we've got some git-lfs files here, too):
EDIT This appears related to:
I would also note that adding GIT_LFS_SKIP_SMUDGE=1
(in the CircleCI Project config) has not had any useful effect.
It does help to go back to Ubuntu 12, but obviously that's less than ideal.
EDIT
Here's a recent bug report I filed: https://discuss.circleci.com/t/cannot-pull-with-git-lfs/14346
(Just to ensure visibility, because my other reports were buried in comments)
The issue was a typo, namely that CircleCI was running version 1.0, but should have been using 2.0.
In particular, I had created a .circleci/config.yaml
, with the appropriate config.
... however, it should've been called .circleci/config.yml
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.