Skip to content

Resource git check only returns 'x' commits #5865

Answered by jamieklassen
AClarkie asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AClarkie
Comment options

@jamieklassen
Comment options

@AClarkie
Comment options

@jamieklassen
Comment options

@AClarkie
Comment options

Answer selected by AClarkie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants