telia-oss / github-pr-resource

Github pull request resource for Concourse
MIT License
182 stars 6 forks source link

Git clone fails randomly #262

Open ngautha1-ford opened 3 years ago

ngautha1-ford commented 3 years ago

The pipeline gets stuck on the get task and fails after a while (~20 mins) . The issue is intermittent and when it works the cloning part just takes under a minute. Does anyone have any idea why this happens and if there is any workaround for it ?


Initialized empty Git repository in /tmp/build/get/.git/
Switched to a new branch 'master'
2021/06/18 14:58:57 get failed: clone failed: exit status 1
rickardl commented 3 years ago

I believe it's somewhat unrelated and is probably a question better answered in the Git Resource repository, also I would recommend you to try to enable a more verbose output from Concourse, there's some instructions on their end on how you do that.

bgandon commented 6 months ago

Unfortunately, there is no hope that you get any further support here (#246 was 2+y ago).

But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.

On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?

_(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)_

awnumar commented 5 months ago

@bgandon I have tested with github.com/cloudfoundry-community/github-pr-resource and can confirm we see the same issue with that resource for a large repository.