github-pr-resource icon indicating copy to clipboard operation
github-pr-resource copied to clipboard

Git clone fails randomly

Open ngautha1-ford opened this issue 4 years ago • 4 comments

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

ngautha1-ford avatar Jun 18 '21 15:06 ngautha1-ford

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.

rickardl avatar Aug 11 '21 21:08 rickardl

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)

bgandon avatar May 10 '24 18:05 bgandon