Open rorsten opened 4 years ago
I think merely switching the line is not easily possible, i.e. gate-resource uses a simplified in
script without support for $branchflag
etc.
The error you're getting appears to be related to the git server you use, maybe it won't support directly fetching a ref? We use gate-resource with GitHub without problems, but I know that e.g. BitBucket Cloud uses a git version that's too old to support this.
https://github.com/meshcloud/gate-resource/blob/92f56fa40c90d3da9b795c8887b40061519454e5/assets/git-in#L58
Seems to be causing failures when I get gates:
I notice that the official git resource uses a different command:
git clone --single-branch $depthflag $uri $branchflag $destination $tagflag
Is it possible to switch that line out?