Resource git check only returns 'x' commits #5865
-
I'm trying to understand why in concourse if I click the check endpoint I only get a limited number of refs listed. Can someone explain how this works?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
https://github.com/concourse/git-resource/blob/master/assets/check is the code that runs checks for the git resource -- it's a bit convoluted but you might get some insights if you analyze it carefully. Reading between the lines, it strongly seems like you're saying "I need 'y' commits, 'x' is too few" or perhaps "where is commit abc? it's older than the 'x' i can see but it's really important". What are you trying to achieve? EDIT: here is a bit more general context on what resource checking is and how it works: https://concourse-ci.org/implementing-resource-types.html#resource-check |
Beta Was this translation helpful? Give feedback.
https://github.com/concourse/git-resource/blob/master/assets/check is the code that runs checks for the git resource -- it's a bit convoluted but you might get some insights if you analyze it carefully. Reading between the lines, it strongly seems like you're saying "I need 'y' commits, 'x' is too few" or perhaps "where is commit abc? it's older than the 'x' i can see but it's really important". What are you trying to achieve?
EDIT: here is a bit more general context on what resource checking is and how it works: https://concourse-ci.org/implementing-resource-types.html#resource-check